49 lines
1.1 KiB
CMake
Executable File
49 lines
1.1 KiB
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
# Make ${Qt6_Gui} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Gui)
|
|
set(Qt6_Gui ${Qt6_Gui})
|
|
else()
|
|
set(Qt6_Gui "")
|
|
endif()
|
|
|
|
|
|
NGL_ADD_LIBRARY2(WS SV HLA LtsElevation SHARED
|
|
lts_elevation_manager.cpp
|
|
lts_elevation_manager.h
|
|
logger.cpp
|
|
logger.h
|
|
)
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(LtsElevation
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
${CMAKE_SOURCE_DIR}/Lts/Common
|
|
${CMAKE_SOURCE_DIR}/Lts/Common/LtsUtils
|
|
${CMAKE_SOURCE_DIR}/Lts/Viewer/SituationMap
|
|
${CMAKE_SOURCE_DIR}/Lts/Viewer/SituationMap/Common
|
|
)
|
|
if(QT6_GUI_AVAILABLE)
|
|
NGL_TARGET_LINK_LIBRARIES(LtsElevation
|
|
PRIVATE
|
|
NGLLogger
|
|
## LtsSessionDataDds
|
|
## ExmDataPluginInterface # External dependency - missing
|
|
## situationMapCommon # External dependency - missing
|
|
## situationMapElevationMap # External dependency - missing
|
|
PUBLIC
|
|
LtsUtilsCoreHeaderOnly
|
|
Qt6::Core
|
|
${Qt6_Gui}
|
|
)
|
|
endif()
|
|
|
|
if(BUILD_RTI)
|
|
target_link_libraries(LtsElevation PRIVATE AsmDataPluginInterface)
|
|
endif()
|
|
|
|
ADD_SUBDIRECTORY(UnitTest_Elevation)
|