File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,19 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/dsdlc_generated/include)
4141# glob all generated dsdlc files
4242file (GLOB DSDL_GENERATED_SOURCES ${CMAKE_CURRENT_BINARY_DIR} /dsdlc_generated/src/*.c* )
4343
44+ # glob all canard/*cpp files
45+ file (GLOB CANARD_CPP_SOURCES ${CMAKE_CURRENT_LIST_DIR} /../*.cpp )
46+
47+ message (STATUS "CANARD_CPP_SOURCES: ${CANARD_CPP_SOURCES} " )
48+
4449# append DSDL_GENERATED_SOURCES_C to SRC_FILES
4550list (APPEND SRC_FILES ${DSDL_GENERATED_SOURCES} )
4651
47- set (SRC_FILES_TEST cxx_test_interface.cpp
52+ set (SRC_FILES_TEST ${CANARD_CPP_SOURCES}
53+ cxx_test_interface.cpp
4854 test_cxx_wrappers.cpp)
49- set (SRC_FILES_CANARD canard_interface.cpp
55+ set (SRC_FILES_CANARD ${CANARD_CPP_SOURCES}
56+ canard_interface.cpp
5057 test_canard_interface.cpp)
5158
5259# create test target
You can’t perform that action at this time.
0 commit comments