Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
ee8e268d
Commit
ee8e268d
authored
Nov 09, 2019
by
Olivier Stasse
Committed by
Guilhem Saurel
Jan 23, 2020
Browse files
[CMake] Add CMake export.
parent
96f238ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
ee8e268d
...
...
@@ -15,6 +15,7 @@ TARGET_INCLUDE_DIRECTORIES(${LIBRARY_NAME}
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_BINARY_DIR
}
/../include>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_BINARY_DIR
}
/>
INTERFACE
$<INSTALL_INTERFACE:include>
)
...
...
@@ -29,7 +30,11 @@ TARGET_LINK_LIBRARIES(${LIBRARY_NAME} dynamic-graph::dynamic-graph)
INSTALL
(
TARGETS
${
LIBRARY_NAME
}
EXPORT
${
TARGETS_EXPORT_NAME
}
DESTINATION lib
)
PUBLIC_HEADER
INCLUDES DESTINATION include
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
#
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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