Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/DifferentialGPS/CMakeLists.txt
T
torstenandCopilot 734a5e5315 Qt6 Migration: BUILD_RTI Guards, Export-Header und Include-Pfade korrigiert
- BUILD_RTI Guards in LtsSession implementiert (6 Dateien)
- LtsSessionDataDds Stub für BUILD_RTI=OFF erstellt
- Export-Header Stubs erstellt (GuezNasat, AlarmManagement, MarkerManagement)
- Include-Pfade korrigiert (resource_path.h, logger.h, Proxies)
- QStringRef → QString migriert (Qt6 Kompatibilität)
- Qt6::Gui Dependencies hinzugefügt (LtsElevation, AdvancedSymbology)
- FilterManagement-Plugins temporär vom Build ausgeschlossen
- MOC-Probleme gefixt (staticMetaObject, override final)
- Build erfolgreich: 1940 Targets mit BUILD_RTI=OFF im Docker-Container

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-20 12:26:22 +02:00

73 lines
1.3 KiB
CMake
Executable File

#
# $Id$
# $HeadURL$
# $Author$
#
IF(BUILD_RTI)
SET(xml_FILE dgps_service.xml)
SET(if_SRCS
tcpsocket.cpp
tcpsocket.h
tetra_if.cpp
tetra_if.h
)
NGL_ADD_LIBRARY(AAR SV Tetra_Interface ${if_SRCS})
NGL_TARGET_LINK_LIBRARIES(Tetra_Interface
Qt6::Core
Qt6::Network
CoPrtCnv
NGLLogger
)
SET(dgps_SRCS
main.cpp
dds_handler.cpp
dds_handler.h
dgps_config.cpp
dgps_config.h
logger.cpp
logger.h
mainthread.cpp
mainthread.h
tetra_if_impl.cpp
tetra_if_impl.h
trimble_if.cpp
trimble_if.h
log4cxx_dgps.props
${xml_FILE}
)
# make sure xml file is properly installed
CODEGEN_HANDLE_SVC_XML(dgps_SRCS ${xml_FILE})
NGL_ADD_SVC_ICON(dgps_SRCS)
NGL_ADD_EXECUTABLE(AAR SV svcDifferentialGPS ${dgps_SRCS})
NGL_TARGET_LINK_LIBRARIES(svcDifferentialGPS
ddsconnector
svcCoreClient
Tetra_Interface
Qt6::Core
Qt6::Network
CoPrtCnv
LtsCommandLineParser
NGLLogger
nglcoreapplication
)
NGL_INSTALL_TARGET(svcDifferentialGPS)
NGL_INSTALL(AAR SV FILES log4cxx_dgps.props DESTINATION bin)
NGL_INSTALL(AAR SV FILES dgps.ini DESTINATION bin RENAME dgps.ini.distrib)
#
# Tetra_dgps_simulator
#
NGL_ADD_EXECUTABLE(AAR SV Tetra_dgps_simulator Simulator/main_sim.cpp Simulator/main_sim.h)
NGL_TARGET_LINK_LIBRARIES(Tetra_dgps_simulator
Qt6::Core
Qt6::Network
)
ENDIF(BUILD_RTI)