Excluding more files

release/4.3a0
Frank Dellaert 2023-02-05 20:34:15 -08:00
parent c13f58a67e
commit 62b302bc76
2 changed files with 10 additions and 0 deletions

View File

@ -48,10 +48,19 @@ else()
set(excluded_sources ${excluded_sources} "${CMAKE_CURRENT_SOURCE_DIR}/geometry/Rot3Q.cpp") set(excluded_sources ${excluded_sources} "${CMAKE_CURRENT_SOURCE_DIR}/geometry/Rot3Q.cpp")
endif() endif()
# if GTSAM_ENABLE_BOOST_SERIALIZATION is not set, then we need to exclude the following:
if(NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
list (APPEND excluded_sources ${excluded_sources}
"${CMAKE_CURRENT_SOURCE_DIR}/gtsam/base/serializationTestHelpers.h"
)
endif()
# if GTSAM_USE_BOOST_FEATURES is not set, then we need to exclude the following: # if GTSAM_USE_BOOST_FEATURES is not set, then we need to exclude the following:
if(NOT GTSAM_USE_BOOST_FEATURES) if(NOT GTSAM_USE_BOOST_FEATURES)
list (APPEND excluded_sources ${excluded_sources} list (APPEND excluded_sources ${excluded_sources}
"${CMAKE_CURRENT_SOURCE_DIR}/nonlinear/GncOptimizer.h" "${CMAKE_CURRENT_SOURCE_DIR}/nonlinear/GncOptimizer.h"
"${CMAKE_CURRENT_SOURCE_DIR}/inference/graph.h"
"${CMAKE_CURRENT_SOURCE_DIR}/inference/graph-inl.h"
) )
endif() endif()

View File

@ -9,6 +9,7 @@ endif()
if (NOT GTSAM_USE_BOOST_FEATURES) if (NOT GTSAM_USE_BOOST_FEATURES)
list(APPEND tests_exclude "testGncOptimizer.cpp") list(APPEND tests_exclude "testGncOptimizer.cpp")
list(APPEND tests_exclude "testGraph.cpp")
endif() endif()
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION) if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)