Commit Graph

165 Commits (3980a439c0fc655ac73a2763f60109b5e6a9270f)

Author SHA1 Message Date
Varun Agrawal 3980a439c0 link gperftools in the top CMakeLists.txt 2024-12-02 09:53:33 -05:00
Varun Agrawal 5481159f95 Link to cephes from gtsam 2023-12-28 09:31:08 -05:00
Varun Agrawal 1d9b83b963 Merge branch 'develop' into chi-squared-quantile 2023-10-18 13:49:59 -04:00
Varun Agrawal 15c5a94e96 remove unused CMake variable 2023-09-18 23:03:07 -04:00
Varun Agrawal ac3f3dbd60 clean up GTSAM version setting 2023-09-05 06:48:24 -04:00
Varun Agrawal a807127b51 update GncOptimizer and make it available 2023-05-11 13:17:17 -04:00
Jose Luis Blanco-Claraco b86a784e2d
cmake: explicitly specifying the linker language for gtsam
Integrating upstream from: https://salsa.debian.org/science-team/gtsam/-/blob/master/debian/patches/0004-I-m-explicitly-specifying-the-linker-language-for-gt.patch

cc: original author @dkogan
2023-03-06 01:08:09 +01:00
Lawrence Ibarria b103fea40c Fix cmake issue with msvc
The cmake call to set_properties is fully overriding a property,
in this case the COMPILE_DEFINITIONS and we were losing an eigen
definition needed. The correct way to do this is to use the cmake
function target_compile_definitions
2023-02-15 07:42:52 -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 8fb0d255ca Excluding sources/headers/tests 2023-02-06 01:34:55 -08:00
Frank Dellaert 62b302bc76 Excluding more files 2023-02-05 20:45:54 -08:00
kartik arcot de2e2899c8 don't compile Gnc when there is no boost 2023-02-05 20:45:54 -08:00
Varun Agrawal 1129c95dd5 fix CMake so that Eigen discovery and linking is consistent 2022-10-25 17:37:29 -04:00
Sébastien Gonzalve ec3d6b36da Use cannonical library name for eigen 2022-10-05 21:30:58 +02:00
Fan Jiang 36ee4ce7cb Missing pragma onces 2022-03-15 12:53:58 -04:00
Fan Jiang 0567303ed3 Prototype a type-erased hybrid machinery 2022-03-11 15:52:28 -05:00
peterQFR 6813e2a3fc Add Barometric Factor 2021-12-17 11:58:21 +10:00
Varun Agrawal 30ac64accf
Merge pull request #570 from borglab/feature/system-metis-lib 2021-09-18 02:12:43 -04:00
Varun Agrawal ff7ddf48bd
Basis functions (#403) 2021-08-27 08:10:31 -04:00
Varun Agrawal ad73645c83 Merge branch 'develop' into feature/system-metis-lib 2021-08-26 00:25:41 -04:00
Varun Agrawal f03b12e420 Make matlab wrapping rely completely on the wrap project 2021-03-09 16:10:08 -05:00
Jose-Luis Blanco Claraco 35aeaf5246
CMake scripts compatible with gtsam as git submodule 2021-01-17 22:21:53 +01:00
Varun Agrawal 7eea8cd8ba suppress warnings from clang as well 2020-11-27 19:37:18 -05:00
Jose Luis Blanco-Claraco 9d41178070
Use METIS system library if so selected 2020-10-19 07:52:12 +02:00
Fan Jiang ac35670728
Merge pull request #477 from borglab/temp/copy_python
Mega change: New Wrapper (Python & MATLAB)
2020-08-19 11:34:39 -04:00
Jose Luis Blanco-Claraco 18cb761309
Include 3rdparty libraries as 'system' headers to avoid warnings 2020-08-18 08:49:37 +02:00
Fan Jiang 1d6392dc88 Initial migration 2020-08-17 17:13:10 -04:00
Frank Dellaert 7cfc5c3522 Added Spectra 0.9.0 to 3rdparty 2020-08-10 22:56:43 -04:00
acxz e069bd5301 remove smart from cmake 2020-07-28 19:24:25 -04:00
Varun Agrawal 7b23f570f9 correct compiler flag for Windows 2020-07-11 14:33:40 -04:00
Varun Agrawal 1fadf1e7ef suppress warnings only for 3rd party code for Release builds 2020-07-10 21:43:30 -04:00
Varun Agrawal 10a131fc36 Quote variable so it works on Windows 2020-07-10 00:19:54 -04:00
Varun Agrawal b1dda699a3 add compiler flags to suppress warnings if built in release mode 2020-07-09 23:49:23 -04:00
Bernd Pfrommer 5801ab079d rename libmetis -> libmetis-gtsam to avoid collision with system libs 2020-06-01 16:20:56 -04:00
Bernd Pfrommer 71f4bb3019 Use GNUInstallDirs to make install destination directories configurable 2020-05-31 21:52:00 -04:00
Varun Agrawal 25bf695b77 updated cmake to include library for Windows demangling 2020-05-18 16:43:14 -05:00
Jose Luis Blanco Claraco 1f6c1dfb85
More consistent (not) use of CMAKE_INSTALL_PREFIX. 2019-12-22 17:09:50 +01:00
Varun Agrawal 74e0647bed add top level path for installation on macOS devices 2019-12-21 10:41:29 -05:00
Varun Agrawal f2376a644e install gtsam_unstable correctly on APPLE devices 2019-12-20 20:52:34 -05:00
Lukas Solanka 8fe8435136 make include_directories relative for install interface 2019-11-19 11:57:42 +01:00
Jose Luis Blanco-Claraco b10963802c
Revert "Fix cmake handling newer boost versions (Closes: #442)"
This reverts commit a0fce4257f.
2019-10-07 11:21:22 +02:00
Jose Luis Blanco Claraco 7f43054c37 Refactor build flags via CMake target properties
Also:
- Allow users to edit cmake target build options in the cache variables.
- We had to add project() commands for  gtsam and gtsam_unstable,
the PROJECT_SOURCE_DIR changed, but the root GTSAM_SOURCE_DIR instead.
- Ensure use of standard C++11 (no extensions)
2019-06-15 23:09:54 +02:00
jlblancoc a0fce4257f Fix cmake handling newer boost versions (Closes: #442) 2019-04-08 10:22:59 +02:00
jlblancoc 6723b481a6 fix missing Eigen in Cython wrapper 2019-02-17 01:02:17 +01:00
jlblancoc 7625c21777
Various fixes to cmake exported targets
List of changes:
 * -I boost is no longer required
   (Since the use of Boost::xxx imported targets)
 * fix missing Boost deps in imported gtsam by
   searching for Boost inside GTSAMConfig.cmake
 * Including the dirs for Eigen/MKL/SuiteSparse/Metis
   into exported targets public interface.
 * Fix missing cmake changes in wrap/*
 * Split build flags into private/public, not to
   expose to users flags that may be invasive.
 * Removed now useless include_dirs in "extra cmake"
 * Update cmake/example_project
 * Make cppunitlite to find boost headers via Boost::boost
 * Update README / INSTALL to reflect the updated minimum CMake >= 3.0
2019-02-15 22:04:04 +01:00
Jose Luis Blanco-Claraco 9ea90b5b45
port to target-based compile options and definitions
This also fixes CMake warnings on Windows
2019-01-24 10:35:26 +01:00
Jose Luis Blanco Claraco 0b1791583f
missing GTSAM_BUILD_STATIC_LIBRARY flags 2019-01-11 00:31:21 +01:00
Jose Luis Blanco Claraco 87888f7bc3 Imported TBB targets; update gtsam_unstable cmake 2019-01-08 00:44:49 +01:00
Jose Luis Blanco Claraco 88bfbceb21 Use standard BUILD_SHARED_LIBS
Instead of custom GTSAM_BUILD_STATIC_LIBRARY
2018-12-21 13:14:40 +01:00
JOSE LUIS BLANCO CLARACO 67d87cb2bd Remove /bigobj flag here (it's already enabled in parent scope)
Already defined here: 0e679b8b97/CMakeLists.txt (lines-334)

This was also causing build errors due to a missing whitespace between cl parameters.
2018-11-27 15:30:29 +00:00