Skip to content

Commit

Permalink
Build with EPROSIMA_BUILD_TESTS=ON
Browse files Browse the repository at this point in the history
Signed-off-by: Yangbo Long <yangbo.long.mav@gmail.com>
  • Loading branch information
YangboLong committed Aug 18, 2024
1 parent 2bb5372 commit 204b6ba
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/unittest/rtps/discovery/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ target_include_directories(EdpTests PRIVATE
${PROJECT_SOURCE_DIR}/test/mock/rtps/RTPSDomainImpl
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${Asio_INCLUDE_DIR}
)
target_link_libraries(EdpTests
Expand Down
1 change: 1 addition & 0 deletions test/unittest/rtps/network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ target_include_directories(ExternalLocatorsTests PRIVATE
${PROJECT_SOURCE_DIR}/test/mock/rtps/WriterProxyData
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
)
target_link_libraries(ExternalLocatorsTests
fastcdr
Expand Down
1 change: 1 addition & 0 deletions test/unittest/rtps/reader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ target_include_directories(StatefulReaderTests PRIVATE
${PROJECT_SOURCE_DIR}/test/mock/dds/DomainParticipantFactory
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${THIRDPARTY_BOOST_INCLUDE_DIR}
)
target_link_libraries(StatefulReaderTests
Expand Down
5 changes: 4 additions & 1 deletion test/unittest/statistics/dds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ if (FASTDDS_STATISTICS)
${PROJECT_SOURCE_DIR}/test/mock/rtps/RTPSDomainImpl/
${PROJECT_SOURCE_DIR}/include
${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp)
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl)
target_link_libraries(DomainParticipantStatisticsListenerTests
${TINYXML2_LIBRARY}
fastcdr
Expand Down Expand Up @@ -576,6 +577,7 @@ if (SQLITE3_SUPPORT AND FASTDDS_STATISTICS AND NOT QNX)
${PROJECT_BINARY_DIR}/include
${Asio_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${THIRDPARTY_BOOST_INCLUDE_DIR})
target_link_libraries(StatisticsDomainParticipantMockTests ${PRIVACY}
fastcdr
Expand Down Expand Up @@ -625,6 +627,7 @@ if (SQLITE3_SUPPORT AND FASTDDS_STATISTICS AND NOT QNX)
${PROJECT_BINARY_DIR}/include
${Asio_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${THIRDPARTY_BOOST_INCLUDE_DIR})
target_link_libraries(StatisticsDomainParticipantStatusQueryableTests ${PRIVACY}
fastcdr
Expand Down
1 change: 1 addition & 0 deletions test/unittest/statistics/rtps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ target_include_directories(MonitorServiceTests PRIVATE
${PROJECT_SOURCE_DIR}/include
${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${Asio_INCLUDE_DIR}
)

Expand Down
4 changes: 4 additions & 0 deletions test/unittest/xmlparser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ target_include_directories(XMLProfileParserTests PRIVATE
${PROJECT_SOURCE_DIR}/include
${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${Asio_INCLUDE_DIR}
$<$<BOOL:${ANDROID}>:${ANDROID_IFADDRS_INCLUDE_DIR}>
)
Expand Down Expand Up @@ -237,6 +238,7 @@ target_include_directories(XMLParserTests PRIVATE
${PROJECT_SOURCE_DIR}/include
${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${Asio_INCLUDE_DIR}
$<$<BOOL:${ANDROID}>:${ANDROID_IFADDRS_INCLUDE_DIR}>
)
Expand Down Expand Up @@ -356,6 +358,7 @@ target_include_directories(XMLEndpointParserTests PRIVATE
${PROJECT_SOURCE_DIR}/include
${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${Asio_INCLUDE_DIR}
$<$<BOOL:${ANDROID}>:${ANDROID_IFADDRS_INCLUDE_DIR}>
)
Expand Down Expand Up @@ -445,6 +448,7 @@ target_include_directories(XMLLoadFileTests PRIVATE
${PROJECT_SOURCE_DIR}/include
${PROJECT_BINARY_DIR}/include
${PROJECT_SOURCE_DIR}/src/cpp
${PROJECT_SOURCE_DIR}/thirdparty/taocpp-pegtl
${Asio_INCLUDE_DIR}
$<$<BOOL:${ANDROID}>:${ANDROID_IFADDRS_INCLUDE_DIR}>
)
Expand Down

0 comments on commit 204b6ba

Please sign in to comment.