Skip to content

Run module CMake hooks once in their intended scope - #20

Merged
Sunday111 merged 2 commits into
mainfrom
fix-module-hook-inclusion
Sep 13, 2026
Merged

Sunday111 merged 2 commits into
mainfrom
fix-module-hook-inclusion

Conversation

@Sunday111

@Sunday111 Sunday111 commented Sep 10, 2026 •

Copy link
Copy Markdown
Owner

Generated library and executable hooks run twice, causing duplicate targets and inconsistent directory scope. Run them once in their module directory when it is included; otherwise retain root inclusion, including modules with subdirectory inclusion disabled.

@Sunday111
Sunday111 merged commit 5384e96 into main Sep 13, 2026
1 check passed
@Sunday111
Sunday111 deleted the fix-module-hook-inclusion branch September 13, 2026 20:25
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.

1 participant