75 lines
1.3 KiB
CMake
Executable File
75 lines
1.3 KiB
CMake
Executable File
MACRO(_BUILD_TEST test_id)
|
|
add_executable(TabUASTest${test_id} test${test_id}.cpp)
|
|
FIND_PACKAGE(TMSIF REQUIRED)
|
|
|
|
|
|
|
|
target_compile_definitions(TabUASTest${test_id} PUBLIC DDS_VENDOR_CYCLONE)
|
|
|
|
|
|
target_link_libraries(TabUASTest${test_id} PRIVATE
|
|
TMSIF::tmsif-cyclone
|
|
TMSIF::ddscxx
|
|
TMSIF::ddkit-cyclone
|
|
)
|
|
ENDMACRO()
|
|
|
|
|
|
#_BUILD_TEST(1)
|
|
#_BUILD_TEST(2)
|
|
_BUILD_TEST(3)
|
|
|
|
|
|
# # test4
|
|
# add_executable(TabUASTest4 test4.cpp)
|
|
# target_link_libraries(TabUASTest4
|
|
# PRIVATE
|
|
# TmsIfAdapter
|
|
# tabPluginInterface
|
|
# )
|
|
|
|
|
|
# # test4.1
|
|
# add_executable(TabUASTest4_1 test4.cpp)
|
|
# target_link_libraries(TabUASTest4_1
|
|
# PRIVATE
|
|
# TmsIfAdapter
|
|
# # /opt/RTI/lib/x64Linux4gcc7.3.0/libnddsc.so
|
|
# # /opt/RTI/lib/x64Linux4gcc7.3.0/libnddscore.so
|
|
# # /opt/RTI/lib/x64Linux4gcc7.3.0/libnddscpp2.so
|
|
# )
|
|
# #target_include_directories(TabUASTest${test_id} PRIVATE
|
|
# #
|
|
# #)
|
|
|
|
|
|
# test4_2
|
|
add_executable(TabUASTest4_2 test4_2.cpp)
|
|
target_link_libraries(TabUASTest4_2
|
|
PRIVATE
|
|
#TmsIfAdapter via dlopen !
|
|
TmsIfAdapterInterface
|
|
tabPluginInterface
|
|
)
|
|
|
|
|
|
# # test5
|
|
# add_executable(TabUASTest5 test5.cpp)
|
|
# target_link_libraries(TabUASTest5
|
|
# PRIVATE
|
|
# tabPluginInterface
|
|
# )
|
|
|
|
|
|
|
|
# test6
|
|
add_executable(TabUASTest6 test6.cpp)
|
|
target_link_libraries(TabUASTest6
|
|
PRIVATE
|
|
Qt5::Core
|
|
Qt5::Widgets
|
|
|
|
#TmsIfAdapter via dlopen !
|
|
TmsIfAdapterInterface
|
|
)
|