cmake: add windows-everything and linux-everything presets - #124
Merged
Conversation
Configure/build/test presets that turn on every optional feature buildable on their respective toolchains, for local one-shot builds that exercise the whole tree rather than one feature slice at a time. - windows-everything inherits clangcl-release (clang-cl + vcpkg). - linux-everything inherits clang-release (Clang + llvm-toolchain.cmake). Both enable: tests, examples, bank example + GUI, HMAC examples, forms QML, Qt, the full application ladder (all rungs), fuzzers, load tests, and offline SQLite. linux-everything additionally enables MORPH_BUILD_NET, which is POSIX-only and ignored (with a warning) on Windows. Left out on both: MORPH_BUILD_CLANG_TIDY and MORPH_BUILD_DOCUMENTATION, which are lint/docs tooling concerns rather than compilation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Adds two CMake presets for local one-shot builds that turn on every optional feature buildable on their respective toolchain, instead of enabling one feature slice at a time:
windows-everything— inheritsclangcl-release(clang-cl + vcpkg toolchain)linux-everything— inheritsclang-release(Clang +llvm-toolchain.cmake)Both enable:
MORPH_BUILD_TESTS,MORPH_BUILD_EXAMPLES,MORPH_BUILD_BANK_EXAMPLE,MORPH_BUILD_BANK_GUI,MORPH_BUILD_HMAC_EXAMPLES,MORPH_BUILD_FORMS_QML,MORPH_BUILD_QT,MORPH_BUILD_LADDER(MORPH_LADDER_RUNGS=all),MORPH_BUILD_FUZZERS,MORPH_BUILD_LOAD_TESTS,MORPH_BUILD_OFFLINE_SQLITE.linux-everythingadditionally enablesMORPH_BUILD_NET, which is POSIX-only and is ignored (with a CMake warning) on Windows — so it's excluded fromwindows-everything.Left out of both, deliberately:
MORPH_BUILD_CLANG_TIDYandMORPH_BUILD_DOCUMENTATION— these are lint/docs tooling concerns, not compilation, so they don't fit "build everything" in the sense this preset targets.Matching
buildPresetsandtestPresetsentries are included for both, so the full flow is:cmake --preset windows-everything # or linux-everything cmake --build --preset windows-everything ctest --preset windows-everything --output-on-failureVerification
CMakePresets.jsonvalidated as well-formed JSON.cmake --list-presets=configureconfirms both new presets register correctly alongside the existing ones.🤖 Generated with Claude Code