Compare commits

...

1 Commits

Author SHA1 Message Date
ed43912c33 delete console_brigde 2026-02-06 10:14:35 +00:00

View File

@@ -270,41 +270,41 @@ endif()
# ======================================================== # ========================================================
# Test executables # Test executables
# ======================================================== # ========================================================
option(BUILD_COSTMAP_TESTS "Build robot_costmap_2d test executables" ON) # option(BUILD_COSTMAP_TESTS "Build robot_costmap_2d test executables" OFF)
if(BUILD_COSTMAP_TESTS) # if(BUILD_COSTMAP_TESTS)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/array_parser_test.cpp) # if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/array_parser_test.cpp)
add_executable(test_array_parser test/array_parser_test.cpp) # add_executable(test_array_parser test/array_parser_test.cpp)
target_link_libraries(test_array_parser PRIVATE # target_link_libraries(test_array_parser PRIVATE
robot_costmap_2d # robot_costmap_2d
GTest::GTest # GTest::GTest
GTest::Main # GTest::Main
Threads::Threads # Threads::Threads
) # )
endif() # endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/coordinates_test.cpp) # if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/coordinates_test.cpp)
add_executable(test_costmap test/coordinates_test.cpp) # add_executable(test_costmap test/coordinates_test.cpp)
target_link_libraries(test_costmap PRIVATE # target_link_libraries(test_costmap PRIVATE
robot_costmap_2d # robot_costmap_2d
GTest::GTest # GTest::GTest
GTest::Main # GTest::Main
Threads::Threads # Threads::Threads
) # )
endif() # endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/static_layer_test.cpp) # if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/static_layer_test.cpp)
add_executable(test_plugin test/static_layer_test.cpp) # add_executable(test_plugin test/static_layer_test.cpp)
target_link_libraries(test_plugin PRIVATE # target_link_libraries(test_plugin PRIVATE
robot_costmap_2d # robot_costmap_2d
Boost::boost Boost::filesystem Boost::system # Boost::boost Boost::filesystem Boost::system
yaml-cpp # yaml-cpp
dl # dl
Threads::Threads # Threads::Threads
tf3 # tf3
robot_time # robot_time
GTest::GTest # GTest::GTest
GTest::Main # GTest::Main
) # )
endif() # endif()
endif() # endif()