Skip to content

Conversation

@ClausKlein
Copy link
Collaborator

3bb4ba9 Use beman-install-library-config.cmake
fd9ae94 Feat: configure project to test without modules

  • Needs final cleanup

@ClausKlein ClausKlein self-assigned this Jan 30, 2026
@ClausKlein ClausKlein marked this pull request as draft January 30, 2026 21:57
Comment on lines +76 to +85
set_target_properties(
"${target_name}_${interface}"
PROPERTIES EXPORT_NAME "${component_name}_${interface}"
)
message(
VERBOSE
"beman-install-library: COMPONENT ${component_name}_${interface} for TARGET '${name}_${interface}'"
)
list(APPEND target_list "${target_name}_${interface}")
endif()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ednolan my quick and dirty hack to install the module library and the interface library

Comment on lines +21 to +25
# PUBLIC
# FILE_SET ${TARGET_NAME}_detail_headers
# TYPE HEADERS
# BASE_DIRS ${PROJECT_SOURCE_DIR}/include
# FILES
Copy link
Collaborator Author

@ClausKlein ClausKlein Jan 30, 2026

Choose a reason for hiding this comment

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

@dietmarkuehl sorry, no named FILE_SET possible at the moment!

Additional problem:

CMake Error at src/beman/execution/CMakeLists.txt:11 (target_sources):
  target_sources Non-default file set name must contain only letters,
  numbers, and underscores, and must not start with a capital letter or
  underscore

target_link_libraries(
${EXAMPLE_TARGET}
PRIVATE beman::beman_execution_headers
PRIVATE beman::execution_headers
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ednolan @dietmarkuehl now the exported target names are conform to the beman rules

include(cmake/prelude.cmake)

#===================================================
project(beman_execution VERSION 0.1.0 LANGUAGES CXX)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO: should be beman.execution, but than

CMake Error at src/beman/execution/CMakeLists.txt:11 (target_sources):
  target_sources Non-default file set name must contain only letters,
  numbers, and underscores, and must not start with a capital letter or
  underscore

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