- Lts/CMakeLists.txt: restore the cleanup scope (Tools, DDS, Common, Services, Proxies, Plugins) - the validation version configured only Lts/Common and TrainingAreaBase, silently dropping the GROUP1 DDS targets, the GROUP5 tools and the service libraries. - 11 further scope CMakeLists from cleanup: the validation versions had removed the per-module unit-test subdirectories (ctest baseline targets), LtsUtilsGui, and used a stale GeographicLib link style. - PrtCnv: keep the validation CMAKE_CURRENT_BINARY_DIR include (generated prtcnvlib_export.h). - sPDM executable: guard on Lts/Common/LtsWebSocket (pruned, link orphan) like the sTAB executable.
80 lines
1.7 KiB
CMake
80 lines
1.7 KiB
CMake
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
|
|
#ADD_SUBDIRECTORY(TetraTestServer)
|
|
ADD_SUBDIRECTORY(LastTest)
|
|
ADD_SUBDIRECTORY(LastTestAuswertung)
|
|
|
|
SET(PrtCnv_SRCS
|
|
logger.h
|
|
logger.cpp
|
|
|
|
AppComponent.cpp
|
|
AppComponent.hpp
|
|
IAppComponent.hpp
|
|
PrtCnvApplication.cpp
|
|
PrtCnvApplication.hpp
|
|
PrtCnvBroadcastMgr.cpp
|
|
PrtCnvBroadcastMgr.hpp
|
|
PrtCnvCentralThread.cpp
|
|
PrtCnvCentralThread.hpp
|
|
PrtCnvDbThread.cpp
|
|
PrtCnvDbThread.hpp
|
|
PrtCnvInjectionSocket.cpp
|
|
PrtCnvInjectionSocket.hpp
|
|
PrtCnvInjectionThread.cpp
|
|
PrtCnvInjectionThread.hpp
|
|
PrtCnvMember.cpp
|
|
PrtCnvMember.hpp
|
|
PrtCnvRadioThread.cpp
|
|
PrtCnvRadioThread.hpp
|
|
PrtCnvRadioTrafficThread.cpp
|
|
PrtCnvRadioTrafficThread.hpp
|
|
PrtCnvSocketThread.cpp
|
|
PrtCnvSocketThread.hpp
|
|
PrtCnvStoredCentralTelegram.hpp
|
|
PrtCnvStoredRadioTelegram.hpp
|
|
PrtCnvStoredTelegram.hpp
|
|
PrtCnvTelegramLogThread.cpp
|
|
PrtCnvTelegramLogThread.hpp
|
|
PrtCnvThread.cpp
|
|
PrtCnvThread.hpp
|
|
PrtCnvThreadStarter.cpp
|
|
PrtCnvThreadStarter.hpp
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(AAR SV PrtCnvLib SHARED ${PrtCnv_SRCS})
|
|
NGL_TARGET_LINK_LIBRARIES(PrtCnvLib
|
|
PRIVATE
|
|
ngldb
|
|
nglsettings
|
|
LtsUtilsCoreHeaderOnly
|
|
Qt6::Sql
|
|
Qt6::WebSockets
|
|
PUBLIC
|
|
CoPrtCnv
|
|
Qt6::Core
|
|
Qt6::Network
|
|
NGLLogger
|
|
)
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(PrtCnvLib
|
|
PUBLIC
|
|
${CMAKE_CURRENT_BINARY_DIR} # prtcnvlib_export.h is generated here
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
)
|
|
|
|
NGL_ADD_EXECUTABLE(AAR SV PrtCnv PrtCnvMain.cpp)
|
|
NGL_TARGET_LINK_LIBRARIES(PrtCnv
|
|
PrtCnvLib
|
|
Qt6::Core
|
|
LtsCommandLineParser
|
|
nglcoreapplication
|
|
)
|
|
NGL_INSTALL_TARGET(PrtCnv)
|
|
NGL_INSTALL(AAR SV FILES log4cxx_prtcnv.props DESTINATION bin)
|
|
NGL_INSTALL(AAR SV FILES PrtCnv.dat.tts DESTINATION bin)
|