install core/ddsi and util header files
Some of the former are required to implement alternative serialisation methods; the latter is just generally useful. For the time being these are not part of the formal API and not subject to backwards compatibility. Still, they have value for quickly building tools on that use Cyclone and happen to need any of these functions. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
6e87841ea5
commit
6f35d88d54
4 changed files with 16 additions and 21 deletions
|
@ -53,9 +53,13 @@ include(ddsc/CMakeLists.txt)
|
|||
target_link_libraries(ddsc PRIVATE util)
|
||||
target_link_libraries(ddsc PRIVATE ddsrt)
|
||||
target_compile_definitions(
|
||||
ddsc PUBLIC $<BUILD_INTERFACE:$<TARGET_PROPERTY:ddsrt,INTERFACE_COMPILE_DEFINITIONS>>)
|
||||
ddsc PUBLIC
|
||||
$<BUILD_INTERFACE:$<TARGET_PROPERTY:ddsrt,INTERFACE_COMPILE_DEFINITIONS>>
|
||||
$<BUILD_INTERFACE:$<TARGET_PROPERTY:util,INTERFACE_COMPILE_DEFINITIONS>>)
|
||||
target_include_directories(
|
||||
ddsc PUBLIC $<BUILD_INTERFACE:$<TARGET_PROPERTY:ddsrt,INTERFACE_INCLUDE_DIRECTORIES>>)
|
||||
ddsc PUBLIC
|
||||
$<BUILD_INTERFACE:$<TARGET_PROPERTY:ddsrt,INTERFACE_INCLUDE_DIRECTORIES>>
|
||||
$<BUILD_INTERFACE:$<TARGET_PROPERTY:util,INTERFACE_INCLUDE_DIRECTORIES>>)
|
||||
|
||||
# SOVERSION should increase on incompatible ABI change
|
||||
set_target_properties(ddsc PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue