feat(build)!: per-component options with mode-driven defaults#55
Open
EnriqueParodi wants to merge 1 commit into
Open
feat(build)!: per-component options with mode-driven defaults#55EnriqueParodi wants to merge 1 commit into
EnriqueParodi wants to merge 1 commit into
Conversation
Component builds are gated via sen_internal_component_guard at the top of their CMakeLists. A coarse mode switch (barebones / basic / full) is used to gate them, and Conan's system requirements (imgui, sdl, libxext-dev, llhttp, pybind11, tracy, ...) are pulled only when their owning component is enabled. Developer-facing flags (with_examples, with_tests, with_clang_tidy, with_coverage, with_docs, sanitizer) replace the ENABLE_* env vars. with_docs pulls doxygen via tool_requires. cli_run's built-in presets (shell / replay / explorer) are conditionally baked in based on their SEN_BUILD_<X> flags. Example smoke tests skip configs whose required component is disabled. BREAKING: - SEN_DISABLE_EXTRA_COMPONENTS removed; use -o sen/*:mode=barebones. - ENABLE_CT / COVERAGE / EXAMPLES / TESTS / ASAN / TSAN env vars no longer honored; use the matching Conan options.
1571fa5 to
395b299
Compare
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.
Component builds are gated via sen_internal_component_guard at the top of their CMakeLists. A coarse mode switch (barebones / basic / full) is used to gate them, and Conan's system requirements (imgui, sdl, libxext-dev, llhttp, pybind11, tracy, ...) are pulled only when their owning component is enabled.
Developer-facing flags (with_examples, with_tests, with_clang_tidy, with_coverage, with_docs, sanitizer) replace the ENABLE_* env vars. with_docs pulls doxygen via tool_requires.
cli_run's built-in presets (shell / replay / explorer) are conditionally baked in based on their SEN_BUILD_ flags. Example smoke tests skip configs whose required component is disabled.
BREAKING: