mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cmake: install src executables
This commit is contained in:
parent
4f7b1ba7ad
commit
b26f631eb3
1 changed files with 17 additions and 6 deletions
|
@ -27,7 +27,11 @@ add_executable(villas-node villas-node.c)
|
|||
add_executable(villas-test-rtt villas-test-rtt.c)
|
||||
add_executable(villas-test-shmem villas-test-shmem.c)
|
||||
|
||||
set(SRCS )
|
||||
install(
|
||||
TARGETS villas-node villas-test-rtt villas-test-shmem
|
||||
COMPONENT bin
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
if(WITH_IO)
|
||||
add_executable(villas-test-cmp villas-test-cmp.c)
|
||||
|
@ -36,14 +40,21 @@ if(WITH_IO)
|
|||
add_executable(villas-signal villas-signal.c)
|
||||
|
||||
target_link_libraries(villas-pipe PUBLIC Threads::Threads)
|
||||
|
||||
install(
|
||||
TARGETS villas-convert villas-pipe villas-signal villas-test-cmp
|
||||
COMPONENT bin
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WITH_IO AND WITH_HOOKS)
|
||||
add_executable(villas-hook villas-hook.c)
|
||||
|
||||
install(
|
||||
TARGETS villas-hook
|
||||
COMPONENT bin
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
install(
|
||||
TARGETS ${BUILDSYSTEM_TARGETS}
|
||||
COMPONENT bin
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue