From 4af355b0eb6a52a5d744a2a24447840bd43cd174 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Sat, 13 Mar 2021 18:30:31 -0500 Subject: [PATCH] make ignore list consistent across Python and Matlab --- matlab/CMakeLists.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/matlab/CMakeLists.txt b/matlab/CMakeLists.txt index 5de7ebac0..29f648d28 100644 --- a/matlab/CMakeLists.txt +++ b/matlab/CMakeLists.txt @@ -58,7 +58,24 @@ if(NOT BUILD_SHARED_LIBS) list(APPEND mexFlags -DGTSAM_IMPORT_STATIC) endif() -set(ignore gtsam::Point2 gtsam::Point3) +# ignoring the non-concrete types (type aliases) +set(ignore + gtsam::Point2 + gtsam::Point3 + gtsam::LieVector + gtsam::LieMatrix + gtsam::ISAM2ThresholdMapValue + gtsam::FactorIndices + gtsam::FactorIndexSet + gtsam::IndexPairSetMap + gtsam::IndexPairVector + gtsam::BetweenFactorPose2s + gtsam::BetweenFactorPose3s + gtsam::Point2Vector + gtsam::Pose3Vector + gtsam::KeyVector + gtsam::BinaryMeasurementsUnit3 + gtsam::KeyPairDoubleMap) # Wrap matlab_wrap(${GTSAM_SOURCE_DIR}/gtsam/gtsam.i "${GTSAM_ADDITIONAL_LIBRARIES}"