Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
1c12c214
Commit
1c12c214
authored
Jul 27, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export and install CAF::test target
parent
72a16f8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
CMakeLists.txt
CMakeLists.txt
+11
-4
No files found.
CMakeLists.txt
View file @
1c12c214
...
...
@@ -260,17 +260,24 @@ configure_file("${PROJECT_SOURCE_DIR}/cmake/build_config.hpp.in"
# -- install testing DSL headers -----------------------------------------------
# install includes from test
install
(
DIRECTORY libcaf_test/caf/ DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/caf
FILES_MATCHING PATTERN
"*.hpp"
)
add_library
(
libcaf_test INTERFACE
)
set_target_properties
(
libcaf_test PROPERTIES EXPORT_NAME test
)
target_include_directories
(
libcaf_test INTERFACE
$<BUILD_INTERFACE:
${
PROJECT_SOURCE_DIR
}
/libcaf_test>
)
add_library
(
CAF::test ALIAS libcaf_test
)
install
(
DIRECTORY libcaf_test/caf/ DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/caf
FILES_MATCHING PATTERN
"*.hpp"
)
install
(
TARGETS libcaf_test
EXPORT CAFTargets
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
COMPONENT test
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
COMPONENT test
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
COMPONENT test
)
# -- provide an uinstall target ------------------------------------------------
# process cmake_uninstall.cmake.in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment