mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-11 15:20:01 +02:00
32 lines
795 B
CMake
32 lines
795 B
CMake
add_executable(mythen3DetectorServer_virtual
|
|
slsDetectorFunctionList.c
|
|
../slsDetectorServer/slsDetectorServer.c
|
|
../slsDetectorServer/slsDetectorServer_funcs.c
|
|
../slsDetectorServer/communication_funcs.c
|
|
)
|
|
|
|
include_directories(
|
|
../slsDetectorServer/
|
|
../../slsSupportLib/include
|
|
)
|
|
|
|
target_include_directories(mythen3DetectorServer_virtual
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
target_compile_definitions(mythen3DetectorServer_virtual
|
|
PUBLIC MYTHEN3D VIRTUAL STOP_SERVER
|
|
)
|
|
|
|
target_link_libraries(mythen3DetectorServer_virtual
|
|
PUBLIC pthread rt
|
|
)
|
|
|
|
set_target_properties(mythen3DetectorServer_virtual PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
|
)
|
|
|
|
install(TARGETS mythen3DetectorServer_virtual
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
)
|