43 lines
851 B
CMake
Executable File
43 lines
851 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
SET(SRCS_DT_TEST
|
|
data_topic_tests.cpp
|
|
data_topic_tests_main.cpp
|
|
log4cxx_scm_unit_tests.props
|
|
)
|
|
|
|
SET(HDRS_DT_TEST
|
|
data_topic_tests.h
|
|
data_topic_tests_main.h
|
|
)
|
|
|
|
IF(BUILD_TESTING AND TARGET svcScmCommon)
|
|
# Testing DataTopic Functionality (DTS/DTC)
|
|
ADD_EXECUTABLE(scmDtUnitTest ${SRCS_DT_TEST} ${HDRS_DT_TEST})
|
|
TARGET_LINK_LIBRARIES(scmDtUnitTest
|
|
nglcoreapplication
|
|
NGLLogger
|
|
RTI::nddscpp2
|
|
svcScmCommon
|
|
ddsgen
|
|
ddsdts
|
|
ddsdtc
|
|
ddsQoS
|
|
ProjectConfig
|
|
Qt5::Core
|
|
Qt5::Test
|
|
)
|
|
|
|
ADD_TEST(NAME scmDtUnitTest COMMAND $<TARGET_FILE:scmDtUnitTest>)
|
|
|
|
IF(NOT BUILD_RPM)
|
|
NGL_INSTALL(AAR SV TARGETS scmDtUnitTest DESTINATION bin/test)
|
|
NGL_INSTALL(AAR SV FILES log4cxx_scm_unit_tests.props DESTINATION bin/test)
|
|
ENDIF()
|
|
ENDIF()
|
|
|