Configure the Release 2 scope in the merged CMakeLists tree
- 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.
This commit is contained in:
1 parent
262fd226f9
commit
edd5e3ba81
13 files changed
+118
-27
No files matched your search
@@ -48,3 +48,22 @@ NGL_TARGET_LINK_LIBRARIES(LtsUtilsCore
|
||||
Qt6::Core
|
||||
LtsUtilsCoreHeaderOnly
|
||||
)
|
||||
|
||||
#
|
||||
# --- Tests --------------------------------------------------------------
|
||||
#
|
||||
IF(BUILD_RTI AND (BUILD_WS OR BUILD_SV) AND BUILD_TESTING)
|
||||
ADD_EXECUTABLE(utils_test
|
||||
UnitTests/utils_test.cpp
|
||||
UnitTests/utils_test.h
|
||||
promise_examples.h
|
||||
promise_examples.cpp
|
||||
)
|
||||
TARGET_LINK_LIBRARIES(utils_test
|
||||
LtsUtilsCore
|
||||
Qt6::Core
|
||||
Qt6::Test
|
||||
ddscore
|
||||
)
|
||||
ADD_TEST(NAME utils_test COMMAND $<TARGET_FILE:utils_test>)
|
||||
ENDIF()
|
||||
Reference in new issue
Block a user