-
Notifications
You must be signed in to change notification settings - Fork 17
Feature/fix build without modules #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: mk-module
Are you sure you want to change the base?
Feature/fix build without modules #208
Conversation
| 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() |
There was a problem hiding this comment.
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
| # PUBLIC | ||
| # FILE_SET ${TARGET_NAME}_detail_headers | ||
| # TYPE HEADERS | ||
| # BASE_DIRS ${PROJECT_SOURCE_DIR}/include | ||
| # FILES |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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
3bb4ba9 Use beman-install-library-config.cmake
fd9ae94 Feat: configure project to test without modules