build the geographic coordinates

This commit is contained in:
Sven Czarnian
2021-11-22 16:18:16 +01:00
parent 92bf63bf45
commit 319e5b2952
2 changed files with 415 additions and 1 deletions

View File

@@ -45,6 +45,10 @@ SET(SOURCE_CONFIG_FILES
config/IdentifierFileFormat.cpp
)
SET(SOURCE_TYPES_FILES
types/GeoCoordinate.cpp
)
SET(SOURCE_FILES_RES
${CMAKE_BINARY_DIR}/ArrivalMANager.rc
${CMAKE_SOURCE_DIR}/res/resource.h
@@ -69,6 +73,8 @@ SET(INCLUDE_HELPER_FILES
SET(INCLUDE_TYPES_FILES
${CMAKE_SOURCE_DIR}/include/aman/types/Communication.h
${CMAKE_SOURCE_DIR}/include/aman/types/GeoCoordinate.h
${CMAKE_SOURCE_DIR}/include/aman/types/Quantity.hpp
)
# define the plug in
@@ -77,6 +83,7 @@ ADD_LIBRARY(
${SOURCE_FILES_RES}
${SOURCE_COM_FILES}
${SOURCE_CONFIG_FILES}
${SOURCE_TYPES_FILES}
${SOURCE_FILES}
${PROTO_SOURCE_FILES}
${PROTO_FILES}
@@ -89,7 +96,7 @@ ADD_LIBRARY(
# define the dependencies
TARGET_INCLUDE_DIRECTORIES(ArrivalMANager INTERFACE EuroScope)
TARGET_LINK_LIBRARIES(ArrivalMANager EuroScope libcurl GSL Shlwapi)
TARGET_LINK_LIBRARIES(ArrivalMANager cppzmq protobuf jsoncpp)
TARGET_LINK_LIBRARIES(ArrivalMANager cppzmq protobuf jsoncpp GeographicLib)
# configure the debugger and update the linker flags
IF(MSVC)
@@ -109,6 +116,7 @@ SOURCE_GROUP("Protocol Files" FILES ${PROTO_FILES})
SOURCE_GROUP("Source Files" FILES ${SOURCE_FILES})
SOURCE_GROUP("Source Files\\com" FILES ${SOURCE_COM_FILES})
SOURCE_GROUP("Source Files\\config" FILES ${SOURCE_CONFIG_FILES})
SOURCE_GROUP("Source Files\\types" FILES ${SOURCE_TYPES_FILES})
SOURCE_GROUP("Source Files\\res" FILES ${SOURCE_FILES_RES})
SOURCE_GROUP("Header Files\\com" FILES ${INCLUDE_COM_FILES})
SOURCE_GROUP("Header Files\\config" FILES ${INCLUDE_CONFIG_FILES})