This commit is contained in:
Timur A. Fatkhullin
2025-05-27 23:40:43 +03:00
parent 4244f76041
commit 156dfb13ba
4 changed files with 292 additions and 3 deletions

View File

@@ -125,7 +125,8 @@ add_library(${CNTR_PROTO_LIB} STATIC ${CNTR_PROTO_LIB_SRC})
set(MOUNT_SERVER_APP_SRC mount.h mount_state.h mount_server.cpp comm_server.h comm_server_endpoint.h comm_server_configfile.h mount_astrom.h
mount_astrom_default.h mcc_coord.h mount_pz.h)
set(MOUNT_SERVER_APP mount_server)
add_executable(${MOUNT_SERVER_APP} ${MOUNT_SERVER_APP_SRC})
add_executable(${MOUNT_SERVER_APP} ${MOUNT_SERVER_APP_SRC}
mcc_fsm.h)
# target_include_directories(${MOUNT_SERVER_APP} PUBLIC ${ERFA_INCLUDE_DIR})
target_link_libraries(${MOUNT_SERVER_APP} ${CNTR_PROTO_LIB} spdlog::spdlog_header_only ERFA_LIB)
@@ -147,5 +148,9 @@ if (WITH_TESTS)
add_executable(${FITPACK_TEST_APP} tests/fitpack_test.cpp)
target_link_libraries(${FITPACK_TEST_APP} fitpack)
target_include_directories(${FITPACK_TEST_APP} PRIVATE ${FITPACK_INCLUDE_DIR})
message(STATUS "INC UP: " ${FITPACK_INCLUDE_DIR})
# message(STATUS "INC UP: " ${FITPACK_INCLUDE_DIR})
set(FSM_TEST_APP fsm_test)
add_executable(${FSM_TEST_APP} tests/fsm_test.cpp)
endif()