Skip to content

CMake: improvements - #52

Merged
arximboldi merged 1 commit into
arximboldi:masterfrom
timblechmann:feature/cmake-improvements
Feb 25, 2026
Merged

arximboldi merged 1 commit into
arximboldi:masterfrom
timblechmann:feature/cmake-improvements

Conversation

@timblechmann

Copy link
Copy Markdown
Contributor
  • by default enable tests/examples/docs only if the project is the top-level project
  • use CMAKE_XXX_LAUNCHER variables, as the RULE_LAUNCH properties are internal to cmake
  • add alias target, to make linking more robust
  • expose headers to IDEs via FILE_SET
  • enable check target only if tests/examples are enabled. This helps the build system to compose

* by default enable tests/examples/docs only if the project is the
top-level project
* use CMAKE_XXX_LAUNCHER variables, as the RULE_LAUNCH properties are
internal to cmake
* add alias target, to make linking more robust
* expose headers to IDEs via FILE_SET
* enable `check` target only if tests/examples are enabled. This helps
the build system to compose

@arximboldi arximboldi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@arximboldi
arximboldi merged commit 065b213 into arximboldi:master Feb 25, 2026
20 checks passed
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