mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-11 23:07:14 +02:00
15 lines
539 B
CMake
15 lines
539 B
CMake
add_library(network_io STATIC src/ZmqSocketReceiver.cpp)
|
|
target_include_directories(network_io PUBLIC include)
|
|
target_link_libraries(network_io PRIVATE libzmq fmt::fmt core utils aare_compiler_flags)
|
|
|
|
if(AARE_PYTHON_BINDINGS)
|
|
set_property(TARGET file_io PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
endif()
|
|
|
|
# if(AARE_TESTS)
|
|
# set(TestSources
|
|
# ${CMAKE_CURRENT_SOURCE_DIR}/test/NumpyFile.test.cpp
|
|
# )
|
|
# target_sources(tests PRIVATE ${TestSources} )
|
|
# target_link_libraries(tests PRIVATE core network_io)
|
|
# endif() |