Skip to content

Conversation

@blowekamp
Copy link
Member

Adresses #5756

  • Use generator expression for Python include path for build interface
  • Do not add generator expression to module system includes
  • Allow modules to override GENEX INCLUDE variables

Enable ${itk-module}_SYSTEM_GENEX_INCLUDE_DIRS, and
${itk-module}_GENEX_INCLUDE_DIRS to be set in a module's
configuration. This variable is not used as part of the ModuleInfo
cmake variables but is set as a target property for the interface
module and libraries.

This also allows modules to use generator expressions for include
paths.
@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots area:Bridge Issues affecting the Bridge module labels Feb 3, 2026
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

Thanks, Brad 🙏

Generator expressions in SYSTEM_INCLUDE_DIRS were causing CMake
configuration issues. System include directories should use plain
paths without generator expressions to ensure compatibility across
different build configurations.
…face

Addresses issue with pixi install python in the source directory.
@blowekamp blowekamp force-pushed the cmake_genex_include branch from 3489507 to 13844cb Compare February 3, 2026 21:37
@blowekamp blowekamp marked this pull request as ready for review February 3, 2026 22:02
@blowekamp blowekamp requested a review from dzenanz February 3, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Bridge Issues affecting the Bridge module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants