Commit Graph

321 Commits (7742f025fcda64a3b5ac68d64d149858897630cf)

Author SHA1 Message Date
Gold856 7742f025fc Clean up MSVC flags to allow use of MSVC variables instead
Generator expressions were used to prevent the addition of /MD and /Zi if the CMake version is new enough to have specific MSVC variables for controlling those flags
2025-01-07 08:45:47 -05:00
Gold856 3d23152a75 Clean up version finding in HandleEigen 2025-01-07 07:53:33 -05:00
Gold856 e08064d9e7 Use CMAKE_POSITION_INDEPENDENT_CODE instead of -fPIC 2025-01-07 07:53:33 -05:00
Gold856 6bb70df05b Use newer binary output directory variables and don't specify output directory on each target 2025-01-07 07:53:33 -05:00
Gold856 cd27b7f2ac Add BUILD_SHARED_LIBS as a configurable option
Update build logic to match and also prevent conflicting options
2025-01-01 00:10:12 -05:00
Varun Agrawal 2aa22005f1 add CMake switch for GPerfTools 2024-12-06 11:32:12 -05:00
Varun Agrawal de1c2d78fd rename GOOGLE_PERFTOOLS to GPERFTOOLS 2024-12-02 09:54:32 -05:00
Varun Agrawal 3980a439c0 link gperftools in the top CMakeLists.txt 2024-12-02 09:53:33 -05:00
Varun Agrawal 486feeb385 link gperftools libraries 2024-12-01 18:58:06 -05:00
Varun Agrawal be4964927c rename TCMALLOC_LIBRARY to GPERFTOOLS_TCMALLOC 2024-12-01 18:57:40 -05:00
Varun Agrawal d38b577284 update CMake for finding gperftools 2024-12-01 18:55:55 -05:00
Varun Agrawal 569eeb9202 update Config.cmake.in to conditionally include Boost 2024-09-25 16:45:06 -04:00
Frank Dellaert 7b96d1e325 Set policies 2024-08-29 15:32:26 -07:00
Frank Dellaert ae42379867 Move to cmake 3.5 2024-08-29 15:16:04 -07:00
Varun Agrawal 5c87f97546
Merge pull request #1572 from borglab/chi-squared-quantile 2023-12-29 17:26:07 -05:00
Varun Agrawal ba93dec850 only used built in version of Cephes since there doesn't seem to be an easy packaged version 2023-12-29 11:18:58 -05:00
Varun Agrawal 3cde40ddc8 OS-based improved support 2023-12-28 10:06:44 -05:00
Varun Agrawal 5481159f95 Link to cephes from gtsam 2023-12-28 09:31:08 -05:00
Varun Agrawal 9b67c3a57a Merge branch 'develop' into remove-nrAssignments 2023-11-06 17:32:41 -05:00
Varun Agrawal b6dbb0fe92 remove extra spaces 2023-10-08 15:02:01 -04:00
Varun Agrawal a30999f1de Move testing cmake flags back to GtsamTesting 2023-10-08 14:44:38 -04:00
Varun Agrawal e4fff74690 update gtsamAddExamplesGlob and gtsamAddTimingGlob to take an additional argument rather than using a global variable 2023-10-08 12:16:24 -04:00
Varun Agrawal 8f61d0b2ed mark private options as advanced and move GTSAM specific options to HandleGeneralOptions.cmake 2023-10-08 11:23:54 -04:00
Nathan Hughes 0443bcd11e fixes issues with TBB not being found when building downstream packages 2023-07-20 15:58:31 +00:00
Tal Regev 6fc2e36137
Handle latest ttb 2023-07-03 22:23:00 +03:00
Varun Agrawal 7703b7dca2
Merge pull request #1520 from borglab/fan/cmake_rot2_option 2023-07-01 23:45:10 -04:00
Fan Jiang d87db0a2f1 Fix the CI under normal circumstances
Signed-off-by: Fan Jiang <i@fanjiang.me>
2023-07-01 13:57:11 -07:00
Varun Agrawal 8ffddc4077 print GTSAM_DT_MERGING cmake config 2023-06-26 18:05:05 -04:00
Varun Agrawal 29c1816a81 change to GTSAM_DT_MERGING and expose via CMake 2023-06-09 20:13:06 -04:00
Varun Agrawal 2d48dd0608 memory sanitizer flag in CMake 2023-06-05 15:08:06 -04:00
Fan Jiang 3f30ac2aef Add missing option in the CMake for Pose2 2023-04-25 15:01:57 -04:00
Varun Agrawal 906b144580 change from /std:c++latest to /std:c++17 for Visual Studio 2023-04-10 21:12:57 -04:00
Jose Luis Blanco Claraco 3819f7ee03
Go back to default shared libraries, and fix unhandled case. 2023-03-06 01:30:50 +01:00
Frank Dellaert ad2f598245 Remove disable of warning not consistent across different clang versions 2023-02-20 12:54:56 -08:00
Frank Dellaert a96b6918db
Merge pull request #1464 from Ibarria/law/cmakeoptions
Allow override of BUILD_SHARED_LIBS
2023-02-16 10:59:25 -08:00
Varun Agrawal d303b221de
Merge branch 'develop' into law/cmakeoptions 2023-02-15 21:52:28 -05:00
Varun Agrawal df973651fb remove commented Cmake commands 2023-02-13 19:38:36 -05:00
Varun Agrawal e08c227f0b only print cmake compile options for current build version 2023-02-13 19:38:21 -05:00
Varun Agrawal 0e6cbfd44a improved CMake for Boost serialization flag 2023-02-13 11:00:14 -05:00
Varun Agrawal 3374524172 clean up cmake 2023-02-12 22:16:32 -05:00
Lawrence Ibarria 5347d205e8 Minor cleanup on HandleEigen.cmake 2023-02-12 13:39:39 -08:00
Lawrence Ibarria 1bed89e942 Allow override of BUILD_SHARED_LIBS
The cmake option BUILD_SHARED_LIBS is a cmake built-in option
to control if libraries are by default SHARED or STATIC.

For large projects, it is desired to be able to design gtsam as a
shared or static library regardless of the value of BUILD_SHARED_LIBS.
This change is unobtrusive, two new cmake options are created, to
force gtsam to be a shared or static library. If neither option is
set (this is the default), the behavior of gtsam remains unchanged
which is to use BUILD_SHARED_LIBS decision.
2023-02-12 13:29:30 -08:00
Frank Dellaert a8eb98acea Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
Varun Agrawal 775d2e877e update CppUnitLite to not rely on boost 2023-02-06 10:48:10 -05:00
Frank Dellaert 4c9743457c Get rid of indentation warnings in Eigen 2023-02-05 15:19:43 -08:00
Frank Dellaert e18b3c5078 Try adding directive in cmake 2023-02-05 11:01:24 -08:00
kartik arcot 1d7181be10 fix CI issue 2023-01-23 15:56:33 -08:00
kartik arcot b2134d1d12 move the option to enable boost serialization to a different file 2023-01-23 14:21:24 -08:00
Frank Dellaert 1ecba12c6a Removed obsolete flag and TODOs 2023-01-20 23:11:12 -08:00
Frank Dellaert ac2db387d6 Switch flag to V43 2023-01-20 22:50:05 -08:00