Fix up timing and examples
parent
aac277d949
commit
c6dd2bb0f0
|
@ -1,11 +1,11 @@
|
|||
set (excluded_examples
|
||||
elaboratePoint2KalmanFilter.cpp
|
||||
"elaboratePoint2KalmanFilter.cpp"
|
||||
)
|
||||
|
||||
# if GTSAM_ENABLE_BOOST_SERIALIZATION is not set then SolverComparer.cpp will not compile
|
||||
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
||||
list (APPEND excluded_examples
|
||||
SolverComparer.cpp
|
||||
"SolverComparer.cpp"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -13,10 +13,10 @@ endif()
|
|||
if (NOT GTSAM_USE_BOOST_FEATURES)
|
||||
# add to excluded examples
|
||||
list (APPEND excluded_examples
|
||||
CombinedImuFactorsExample.run
|
||||
ImuFactorsExample.run
|
||||
ShonanAveragingCLI.cpp
|
||||
SolverComparer.cpp
|
||||
"CombinedImuFactorsExample.cpp"
|
||||
"ImuFactorsExample.cpp"
|
||||
"ShonanAveragingCLI.cpp"
|
||||
"SolverComparer.cpp"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
set (excluded_examples "")
|
||||
|
||||
# Add examples to exclude if GTSAM_USE_BOOST_FEATURES is not set
|
||||
if (NOT GTSAM_USE_BOOST_FEATURES)
|
||||
# add to excluded examples
|
||||
list (APPEND excluded_examples
|
||||
"GncPoseAveragingExample.cpp"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
gtsamAddExamplesGlob("*.cpp" "${excluded_examples}" "gtsam_unstable")
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
set (excluded_scripts
|
||||
elaboratePoint2KalmanFilter.cpp
|
||||
)
|
||||
# Add scripts to exclude if GTSAM_ENABLE_BOOST_SERIALIZATION is not set
|
||||
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
||||
# add to excluded scripts
|
||||
list (APPEND excluded_scripts
|
||||
"timeIncremental.cpp"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Add scripts to exclude if GTSAM_USE_BOOST_FEATURES is not set
|
||||
if (NOT GTSAM_USE_BOOST_FEATURES)
|
||||
# add to excluded scripts
|
||||
list (APPEND excluded_scripts
|
||||
timeISAM2Chain.cpp
|
||||
"timeISAM2Chain.cpp"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
gtsamAddTimingGlob("*.cpp" excluded_scripts "gtsam")
|
||||
gtsamAddTimingGlob("*.cpp" "${excluded_scripts}" "gtsam")
|
||||
|
||||
target_link_libraries(timeGaussianFactorGraph CppUnitLite)
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace boost;
|
||||
using namespace gtsam;
|
||||
|
||||
struct Plain {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace boost;
|
||||
using namespace gtsam;
|
||||
|
||||
struct DtorTestBase {
|
||||
|
|
Loading…
Reference in New Issue