Feature/add workflow presets#68
Open
ClausKlein wants to merge 5 commits intocpp-best-practices:mainfrom
Open
Conversation
Contributor
Author
cmake --workflow --presetUsage examples on unix-like OS:bash-5.2$ cmake --workflow --preset debug --fresh 2> /dev/null | grep -w step
Executing workflow step 1 of 3: configure preset "debug"
Executing workflow step 2 of 3: build preset "debug"
Executing workflow step 3 of 3: test preset "debug"
bash-5.2$ cmake --workflow --preset release --fresh 2> /dev/null | grep -w step
Executing workflow step 1 of 6: configure preset "release"
Executing workflow step 2 of 6: build preset "release"
Executing workflow step 3 of 6: test preset "release"
Executing workflow step 4 of 6: build preset "install"
Executing workflow step 5 of 6: build preset "doxygen-docs"
Executing workflow step 6 of 6: package preset "release"
bash-5.2$ cmake --workflow --preset ?
CMake Error: No such workflow preset in /Users/clausklein/Workspace/cpp/cmake_template: "?"
Available workflow presets:
"debug"
"release"
"clang-debug"
"clang-release"
bash-5.2$ |
With CMAKE_UNITY_BUILD there are build error with ftxui! Quickfix: don't build ftxui_sample if CMAKE_UNITY_BUILD is set.
clang-format -i *.json use CMAKE_UNITY_BUILD as default prevent clang-tidy as precompile step add ENABLE_DOXYGEN option
8024301 to
e11f7f8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #68 +/- ##
=======================================
Coverage 20.50% 20.50%
=======================================
Files 5 5
Lines 239 239
Branches 112 112
=======================================
Hits 49 49
+ Misses 179 177 -2
- Partials 11 13 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
clang-format -i *.json
use CMAKE_UNITY_BUILD as default
prevent clang-tidy as precompile step
add ENABLE_DOXYGEN option