Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: build single-file-header with cmake #2526

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

Riolku
Copy link
Contributor

@Riolku Riolku commented Nov 29, 2023

This also allows us to install headers with cmake, and completely remove our build.py script.

Since the C++ example now builds with the single file header, make tidy doesn't work properly. Instead of fixing it, I have removed examples from the tidy checking. I'm not convinced it really makes sense.

@Riolku Riolku force-pushed the cmake-install-include branch 2 times, most recently from bdd2cf5 to 9c89868 Compare November 29, 2023 22:21
Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ff5e450) 91.57% compared to head (4d82377) 91.57%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2526   +/-   ##
=======================================
  Coverage   91.57%   91.57%           
=======================================
  Files        1028     1029    +1     
  Lines       38036    38042    +6     
=======================================
+ Hits        34832    34838    +6     
  Misses       3204     3204           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Riolku Riolku force-pushed the cmake-install-include branch 8 times, most recently from 6e595b7 to 9fdddc0 Compare November 29, 2023 23:06
@Riolku Riolku requested a review from mewim November 29, 2023 23:09
@Riolku Riolku force-pushed the cmake-install-include branch 2 times, most recently from c82383a to d1b1d11 Compare November 30, 2023 14:56
@Riolku
Copy link
Contributor Author

Riolku commented Nov 30, 2023

@Riolku Riolku force-pushed the cmake-install-include branch 3 times, most recently from 1adc0f2 to a921fe7 Compare November 30, 2023 15:16
This also allows us to install headers with cmake, and completely
remove our `build.py` script.

Since the C++ example now builds with the single file header, `make
tidy` doesn't work properly. Instead of fixing it, I have removed
examples from the tidy checking. I'm not convinced it really makes
sense.
@Riolku
Copy link
Contributor Author

Riolku commented Nov 30, 2023

@mewim
Copy link
Member

mewim commented Dec 1, 2023

LGTM. Let's update the docs here and state that we need Python 3.9+ to build.

@Riolku Riolku merged commit 9b69690 into master Dec 1, 2023
28 checks passed
@Riolku Riolku deleted the cmake-install-include branch December 1, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants