disable scheduler since it uses boost::escaped_list_tokenizer

release/4.3a0
kartik arcot 2023-01-23 10:29:30 -08:00 committed by Frank Dellaert
parent 52a72b5f2b
commit fc05618907
2 changed files with 25 additions and 3 deletions

View File

@ -29,6 +29,20 @@ set (excluded_headers # "")
"${CMAKE_CURRENT_SOURCE_DIR}/slam/serialization.h"
)
# if GTSAM_USE_BOOST_FEATURES is not set, then we need to exclude the following:
if(NOT GTSAM_USE_BOOST_FEATURES)
set (excluded_sources ${excluded_sources}
"${CMAKE_CURRENT_SOURCE_DIR}/linear/QPSParser.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/linear/QPSSolver.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/linear/Scheduler.cpp"
)
set (excluded_headers ${excluded_headers}
"${CMAKE_CURRENT_SOURCE_DIR}/linear/QPSParser.h"
"${CMAKE_CURRENT_SOURCE_DIR}/linear/QPSSolver.h"
"${CMAKE_CURRENT_SOURCE_DIR}/linear/Scheduler.h"
)
endif()
# assemble core libraries
foreach(subdir ${gtsam_unstable_subdirs})
# Build convenience libraries

View File

@ -1,5 +1,13 @@
set (excluded_examples
# fileToExclude.cpp
)
# disable tests if GTSAM_USE_BOOST_FEATURES is OFF
if (NOT GTSAM_USE_BOOST_FEATURES)
set (excluded_examples
# fileToExclude.cpp
"schedulingExample.cpp"
"schedulingQuals12.cpp"
"schedulingQuals13.cpp"
)
else()
set (excluded_examples "")
endif()
gtsamAddExamplesGlob("*.cpp" "${excluded_examples}" "gtsam_unstable")