...
This commit is contained in:
@@ -7,6 +7,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
|
||||
|
||||
option(USE_XSIMD "Use of XSIMD library to generate vectorized code" ON)
|
||||
|
||||
|
||||
find_package(ASIO QUIET)
|
||||
if (ASIO_FOUND)
|
||||
# message(STATUS "ASIO library was found")
|
||||
@@ -69,6 +72,12 @@ endif()
|
||||
add_compile_definitions(SPDLOG_USE_STD_FORMAT)
|
||||
add_compile_definitions(SPDLOG_FMT_EXTERNAL=0)
|
||||
|
||||
if (USE_XSIMD)
|
||||
# fetch XSIMD library
|
||||
add_compile_definitions(VEC_XSIMD)
|
||||
endif()
|
||||
|
||||
|
||||
option(WITH_TESTS "Build tests" ON)
|
||||
|
||||
# Mount client-to-server communication protocol
|
||||
@@ -85,7 +94,7 @@ set(CNTR_PROTO_LIB_SRC
|
||||
set(CNTR_PROTO_LIB comm_proto)
|
||||
add_library(${CNTR_PROTO_LIB} STATIC ${CNTR_PROTO_LIB_SRC})
|
||||
|
||||
set(MOUNT_SERVER_APP_SRC mount.h mount_server.cpp comm_server.h comm_server_endpoint.h)
|
||||
set(MOUNT_SERVER_APP_SRC mount.h mount_server.cpp comm_server.h comm_server_endpoint.h mount_astrom.h)
|
||||
set(MOUNT_SERVER_APP mount_server)
|
||||
add_executable(${MOUNT_SERVER_APP} ${MOUNT_SERVER_APP_SRC}
|
||||
comm_server_configfile.h)
|
||||
|
||||
Reference in New Issue
Block a user