mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
initial comit, ported scout_sdk and added hunter support
This commit is contained in:
15
unit_tests/CMakeLists.txt
Normal file
15
unit_tests/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
# Dependency libraries
|
||||
#find_package(LIBRARY_NAME REQUIRED)
|
||||
|
||||
add_subdirectory(googletest)
|
||||
|
||||
## Unit tests with GoogleTest
|
||||
set(GTEST_SRC
|
||||
gtests/scout_can_protocol_test.cpp
|
||||
)
|
||||
add_executable(scout_sdk_test ${GTEST_SRC})
|
||||
target_link_libraries(scout_sdk_test gtest gtest_main scoutbase)
|
||||
target_include_directories(scout_sdk_test PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<BUILD_INTERFACE:${GTEST_INCLUDE_DIRS}>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
Reference in New Issue
Block a user