mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-03 03:10:04 +02:00

* WIP * wip * wip * removed loop * sending 1 frame * send multiple frames * c11 for server * WIP * WIP * Add CMake for the simulators. Requires some refactoring to make slsDetectorServer a proper library. * Working cmake for jungfrau * Working cmake for eiger * WIP * WIP * Add preliminary working eiger simulator and breaks the jungfrau simulator * virtual servers connected * changes to make it work for rhel7 and install binaries in bin * removed some unnecessary prints * removed binaries and virtual makefiles
27 lines
609 B
CMake
27 lines
609 B
CMake
add_executable(jungfrauDetectorServer
|
|
slsDetectorFunctionList.c
|
|
slsDetectorServer.c
|
|
slsDetectorServer_funcs.c
|
|
communication_funcs.c
|
|
)
|
|
|
|
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}
|
|
)
|