build(lane_route_core): turn tests off by default in catkin and standalone builds
BUILD_LANE_ROUTE_TESTS now defaults to OFF in both build modes instead of following BUILDING_WITH_CATKIN. It also gates the lane_route_eval tool. Enable with -DBUILD_LANE_ROUTE_TESTS=ON.
This commit is contained in:
@@ -12,7 +12,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
# The tests and the eval tool build coarse graphs with robot_costmap_2d. The library itself does not use it.
|
||||
option(BUILD_LANE_ROUTE_TESTS "Build lane_route_core tests and eval tool" ${BUILDING_WITH_CATKIN})
|
||||
# Tests are OFF by default in both build modes; enable with -DBUILD_LANE_ROUTE_TESTS=ON.
|
||||
option(BUILD_LANE_ROUTE_TESTS "Build lane_route_core tests and eval tool" OFF)
|
||||
|
||||
if(BUILDING_WITH_CATKIN)
|
||||
find_package(catkin REQUIRED COMPONENTS robot_costmap_2d)
|
||||
|
||||
Reference in New Issue
Block a user