Skip to content

Feature/module target - #466

Draft
ClausKlein wants to merge 3 commits into
Neargye:module_targetfrom
ClausKlein:feature/module_target
Draft

Feature/module target#466
ClausKlein wants to merge 3 commits into
Neargye:module_targetfrom
ClausKlein:feature/module_target

Conversation

@ClausKlein

Copy link
Copy Markdown

Only to show the problem!

@ClausKlein
ClausKlein marked this pull request as draft August 7, 2026 15:12
Comment thread test/CMakeLists.txt
"-D CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}"
"-D CMAKE_CXX_STANDARD_REQUIRED=${CMAKE_CXX_STANDARD_REQUIRED}"
"-D CMAKE_PREFIX_PATH=${CMAKE_CURRENT_BINARY_DIR}/stagedir"
"-D CMAKE_EXPERIMENTAL_CXX_IMPORT_STD=${CMAKE_EXPERIMENTAL_CXX_IMPORT_STD}"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Without this import std; is not possible today (CMake v4.4.2)

Comment thread CMakeLists.txt
message(FATAL_ERROR "MAGIC_ENUM_OPT_VERIFY_INTERFACE_HEADER_SETS requires CMake >= 3.24")
endif()
set_property(TARGET ${PROJECT_NAME} PROPERTY VERIFY_INTERFACE_HEADER_SETS ON)
set_property(TARGET ${PROJECT_NAME} PROPERTY VERIFY_INTERFACE_HEADER_SETS ${PROJECT_IS_TOP_LEVEL})

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Note this too: normally not needed if not top level project!

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