build: turn tests off by default in catkin and standalone builds
BUILD_SBPL_LATTICE_TESTS now defaults to OFF in both build modes instead of following BUILDING_WITH_CATKIN. Enable the tests with -DBUILD_SBPL_LATTICE_TESTS=ON.
This commit is contained in:
@@ -237,7 +237,8 @@ else()
|
||||
message(STATUS "=================================")
|
||||
endif()
|
||||
|
||||
option(BUILD_SBPL_LATTICE_TESTS "Build sbpl_lattice_planner test executables" ${BUILDING_WITH_CATKIN})
|
||||
# Tests are OFF by default in both build modes; enable with -DBUILD_SBPL_LATTICE_TESTS=ON.
|
||||
option(BUILD_SBPL_LATTICE_TESTS "Build sbpl_lattice_planner test executables" OFF)
|
||||
if(BUILD_SBPL_LATTICE_TESTS)
|
||||
find_package(GTest REQUIRED)
|
||||
add_executable(direction_environment_test test/direction_environment_test.cpp)
|
||||
|
||||
Reference in New Issue
Block a user