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