- LtsUtilsSettings: Fix export header include path (angle brackets) - LtsWidgets: Move LtsUtilsSettings to PUBLIC link libraries - BatteryNotification: Remove unused QDesktopWidget include - DDS/FTC: Wrap ddsftccore library in IF(BUILD_RTI) guards - DDS/FTS: Remove ELSE block, wrap entire library in IF(BUILD_RTI) - DDS/DTC: Wrap entire library definition in IF(BUILD_RTI) - DDS/DTS: Wrap entire library definition in IF(BUILD_RTI) - DDS/DDSConnector: Wrap entire library in IF(BUILD_RTI), remove ELSE - DDS/Routing: Wrap entire library in IF(BUILD_RTI) All RTI Connext DDS-specific libraries (ddscore, ddsQoS, ddsgen, ddsdtc, ddsdts, ddsfts, ddsconnector, routing_plugin) are now properly guarded so BUILD_RTI=OFF builds can succeed.
51 lines
971 B
CMake
Executable File
51 lines
971 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
IF(BUILD_RTI)
|
|
|
|
ADD_LIBRARY(ddsfts_connext INTERFACE)
|
|
TARGET_INCLUDE_DIRECTORIES(ddsfts_connext
|
|
INTERFACE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
|
)
|
|
TARGET_LINK_LIBRARIES(ddsfts_connext
|
|
INTERFACE
|
|
RTI::nddscpp2
|
|
)
|
|
SET(SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/connext.h
|
|
)
|
|
TARGET_SOURCES(ddsfts_connext INTERFACE ${SRCS})
|
|
|
|
SET(SRCS
|
|
generic_fts.h ;# Interface
|
|
generic_fts_impl.h ;# Implementation, using internal class GenericFTCInternal
|
|
generic_fts_internal.h
|
|
generic_fts_internal.cpp
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(WS AAR SV HLA ddsfts SHARED ${SRCS})
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(ddsfts
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
|
${CMAKE_CURRENT_BINARY_DIR}/../../Proxies/TrainingAreaBase
|
|
)
|
|
NGL_TARGET_LINK_LIBRARIES(ddsfts
|
|
PRIVATE
|
|
RTI::nddscore
|
|
ProjectConfig
|
|
ddsQoS
|
|
svcTabCommon
|
|
PUBLIC
|
|
Qt6::Core
|
|
RTI::nddsc
|
|
RTI::nddscpp2
|
|
ddsgen
|
|
ddsfts_connext
|
|
)
|
|
|
|
ENDIF(BUILD_RTI)
|