Commit Graph

370 Commits (f64ebfd4d8e59ec3c0d3a63ce4a23acbf0019858)

Author SHA1 Message Date
Frank Dellaert 91de3cb6ba
Bump version to 4.2a3 2022-01-16 15:17:26 -05:00
Frank Dellaert 28b087364e Bump version 2022-01-09 16:38:05 -05:00
Frank Dellaert dcc74d827d Bump prerelease version to alpha 1 2022-01-04 13:48:32 -05:00
Frank Dellaert b604d1ca29 Version logic + version bump to 4.2a0 2021-12-28 17:55:01 -05:00
Varun Agrawal 1cd93d84e6 CMake updates 2021-12-06 11:05:01 -05:00
Varun Agrawal 48cc70c506 generate GTSAM_UNSTABLE Cmake exports 2021-10-23 12:45:21 -04:00
Varun Agrawal ad73645c83 Merge branch 'develop' into feature/system-metis-lib 2021-08-26 00:25:41 -04:00
Varun Agrawal 30c84eabe4 added CMake variable to set the matlab.h include 2021-03-24 16:58:44 -04:00
Varun Agrawal b890f06afe clean up the CMake 2021-03-13 12:01:05 -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 3a80b38a9a updates to Cmake to use the new wrap package 2021-01-04 13:13:01 -05:00
Jose Luis Blanco-Claraco 9d41178070
Use METIS system library if so selected 2020-10-19 07:52:12 +02:00
Jose Luis Blanco Claraco 8cb22624e0
Use camel case for cmake files 2020-10-07 17:02:55 +02:00
Jose Luis Blanco Claraco e9e87526c4
refactor cmake scripts into smaller files 2020-10-06 18:10:11 +02:00
Varun Agrawal eb9ca8cd92 find python if using Default 2020-10-02 14:05:13 -04:00
Varun Agrawal a4c3623701
Merge pull request #526 from borglab/feature/python-version
Automatically find Python3 version
2020-09-21 21:52:42 -04:00
Varun Agrawal 25eb4a13fd minor formatting 2020-09-18 11:49:03 -04:00
Varun Agrawal 75e24ef867 print version of TBB found 2020-09-17 21:42:53 -04:00
Varun Agrawal 859c157a0f Use cmake to identify best Python version if Default requested 2020-09-17 21:26:11 -04:00
Varun Agrawal 268c3609a8 update minimum Boost version required 2020-09-03 12:00:04 -04:00
Fan Jiang 09480469ad Bump version to 4.1.0 2020-08-21 21:36:15 -04:00
Fan Jiang 43816e5cd1 Remove GTSAM_DEFINE_POINTS_TO_VECTORS 2020-08-21 09:08:34 -04:00
Fan Jiang bc748243cb Add MATLAB root prompt 2020-08-18 11:49:42 -04:00
Fan Jiang 3d846ef7a8 Reformat CMake files 2020-08-18 11:47:38 -04:00
Fan Jiang 7378fe73b7 Disable unstable MATLAB by default 2020-08-18 11:17:00 -04:00
Fan Jiang 723d00a40a Small fixes 2020-08-17 19:21:06 -04:00
Fan Jiang 1d6392dc88 Initial migration 2020-08-17 17:13:10 -04:00
Varun Agrawal 3ea9897723 function for consistent width printing of CMake flags 2020-08-07 16:11:05 -05:00
Frank dellaert bf07e7a4d4 Improved comment 2020-07-24 15:38:44 -04:00
Frank dellaert 18636c8aa1 Replaced flag with 4.1 version 2020-07-22 17:32:07 -04:00
Fan Jiang 24b2f50fe3 Bump version and switch Pose3 expmap default 2020-07-21 18:15:00 -04:00
Frank Dellaert c8ddd43f97
Merge pull request #277 from borglab/feature/python-install
Auto-install Python Package
2020-07-16 12:50:58 -04:00
Varun Agrawal aca002fc12 correct indentation for Python version 2020-07-14 13:25:08 -04:00
Varun Agrawal ca14276404 Add MATLAB root and Mex paths to cmake output, align GTSAM specific output 2020-07-10 00:15:12 -04:00
Varun Agrawal 74591eece6 fixed CYTHON_INSTALL_PATH cmake variable wrt cache 2020-07-01 14:36:16 -05:00
Varun Agrawal 8859b963a2 In-place cython build
Build everything inside the build/cython{BuildType} directory directly, so we can bypass the `make install` step and introduce the `make python-install` step which allows cmake to handle all dependencies.
2020-07-01 12:13:53 -05:00
Varun Agrawal 9cbabb2cb6 Set high level Cython/Eigency variables to reduce duplication 2020-06-30 20:45:55 -05:00
Varun Agrawal 453d3a7416 Added cmake variable GTSAM_CYTHON_INSTALL_FULLPATH to include build tag directly 2020-06-24 18:11:24 -05:00
Bernd Pfrommer 71f4bb3019 Use GNUInstallDirs to make install destination directories configurable 2020-05-31 21:52:00 -04:00
Varun Agrawal 83bd42c72f maintain backwards compatibility of CMake 2020-04-01 16:55:42 -04:00
Varun Agrawal 9361d5b491
Merge pull request #260 from borglab/fix/cmake-wrapper-warnings
Fixed some wrapper warnings
2020-03-29 19:26:58 -04:00
Varun Agrawal 8194b931fe
Merge pull request #250 from acxz/tbb_ci_simple
Add TBB to Travis CI (simple)
2020-03-28 18:19:42 -04:00
acxz 88005a99a1 fix tbb CMakeLists indentation 2020-03-26 13:46:30 -04:00
Varun Agrawal cd809309f7 suppress warning only on linux for now, need to figure out for other OSes 2020-03-23 08:04:17 -04:00
Varun Agrawal 0479223b3f suppress warning when wrapper indentation is too long 2020-03-22 20:04:33 -04:00
acxz 6ec13bdcd5 add tbb version guard to fix clang build
(cherry picked from commit 9b912f6b14d2cf715d17208df35b8253d5e648e7)
2020-03-15 22:18:35 -04:00
Varun Agrawal 4c6d5600b3 Cmake print status of Cheirality Exception flag 2020-02-06 23:56:07 -05:00
Jose Luis Blanco Claraco c101e83b4b
Fix cmake policy CMP0054 warning 2019-12-28 20:31:52 +01:00
Fan Jiang cf1afedd9f Remove the override allowing boost::optional binding to rvalues 2019-12-23 12:58:00 -08:00
Varun Agrawal 2fe2e0b754 don't add CMAKE_INSTALL_NAME_DIR to cmake cache, allowing it to be updated by ccmake 2019-12-22 10:13:23 -05:00
Varun Agrawal 74e0647bed add top level path for installation on macOS devices 2019-12-21 10:41:29 -05:00
Jose Luis Blanco-Claraco 087221ac95
travis: use clang-9 2019-12-12 23:23:16 +01:00
Frank Dellaert e5a13b7b36
Merge pull request #135 from borglab/boost-exported-targets
Get back to Boost "modern" CMake targets
2019-10-12 13:41:16 -04:00
Jose Luis Blanco-Claraco b3dccc6ef3
get gtsam version number in synch 2019-10-07 21:47:51 +02: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
Frank Dellaert a1583e08b7
Switched default to OFF 2019-09-12 15:01:01 -04:00
Varun Agrawal 7dc1811d54 add cmake flag to include eigen-unsupported module 2019-09-12 14:56:12 -04:00
Clark Taylor 2cf4514e81 Changes to get gtsam to compile in Windows 2019-07-11 13:55:12 +02:00
Jose Luis Blanco-Claraco c572a14d7b Fix more CMake errors for MSVC builds 2019-06-20 21:18:55 +02:00
Varun Agrawal bc16290e96 Main CMakeLists.txt edit
- Added top-level cmake build type upper case variable.
- Added new GTSAM_BUILD_TAG variable for use in wrapping gtsam_eigency.
- Removed FATAL message regarding GTSAM_BUILD_TYPE_POSTFIXES.
2019-06-17 16:36:50 -04: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
Jose Luis Blanco-Claraco bf20ec91de cmake: fix unset variable for MSVC 2019-06-15 10:15:34 +02:00
Frank Dellaert fc10e7c9c6
Merge pull request #52 from jlblancoc/add_uninstall
Provide target `make uninstall`
2019-06-11 12:07:32 -04:00
Jose Luis Blanco Claraco 3a85be2531 provide 2019-06-10 12:41:27 +02:00
Jose Luis Blanco Claraco cc4bc458eb Ensure users do not mix up Eigen versions 2019-06-01 09:01:00 +02:00
chrisbeall 110586a571 Require TBB 4.4 or newer 2019-05-26 12:15:31 -07:00
dellaert 1cbb6d74f8 cmake fixes 2019-05-19 11:30:48 -04:00
chrisbeall 7b9ed50daa Add option to toggle march=native 2019-05-18 15:15:27 -07:00
Matthew Broadway f4f269e2bc print message if build postfix is used when building for cython or matlab 2019-05-17 14:54:12 +01:00
José Luis Blanco-Claraco 0d5fa8f591 Merged in jlblancoc/gtsam/fix-eigen-msvc-dlls (pull request #419)
close issue #417
solution to DLL build in MSVC (Fixes: #417)
2019-04-19 20:49:30 +00:00
Jose Luis Blanco-Claraco 898417196f alternative solution to DLL build in MSVC 2019-04-18 22:44:49 +02:00
jlblancoc a0fce4257f Fix cmake handling newer boost versions (Closes: #442) 2019-04-08 10:22:59 +02:00
Chris Beall 40134c3a9e Restore warnings about MKL, change notice about performance. 2019-03-12 11:16:32 -07:00
chrisbeall e24b402db4 Turn MKL off by default. Add section on performance to INSTALL.md 2019-03-12 09:25:14 -07:00
Matthew Broadway e9e8ca3990 added option to specify python version 2019-02-28 09:14:39 +00: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 87888f7bc3 Imported TBB targets; update gtsam_unstable cmake 2019-01-08 00:44:49 +01:00
Jose Luis Blanco Claraco 8513e4c230 Merge remote-tracking branch 'upstream/develop' into develop 2019-01-07 23:34:45 +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
cbeall f17b12bbfd Add cmake flag to toggle use of ccache. On by default. 2018-12-18 15:04:21 -08:00
Frank Dellaert 1468250a0d Added ccache support as shown in Issue #390 2018-12-18 11:47:07 -08:00
Chris Beall d56033b5a5 Add CMake check for incompatible MKL + Eigen 3.3.4 2018-12-11 10:56:56 -08:00
Jing Dong ce460eea92 fix virtual memory range for PCH exceeded 2018-11-30 15:48:16 -05:00
Frank Dellaert 1becaab652 Added comment 2018-11-08 09:52:12 -05:00
Frank Dellaert f8793f49ff Merge branch 'develop' into fix/msvc2017 2018-10-22 19:11:21 -04:00
Frank Dellaert bf0c9dccaa cmake changes 2018-10-22 19:10:52 -04:00
Duy-Nguyen Ta b74875f10a Similar to Matlab wrapper, CYTHON_TOOLBOX and POINTS_TO_VECTOR can't co-exist for now 2017-08-17 07:03:35 -04:00
Duy-Nguyen Ta 931405155e move GTSAM_CYTHON_INSTALL_PATH to main CMakeLists. Set eigency install path in gtsam_extra.cmake so other non-gtsam projects can find. 2017-07-28 15:24:30 -04:00
Duy-Nguyen Ta a715e064a6 kill system's eigency 2017-07-27 05:07:21 -04:00
Duy-Nguyen Ta 3e547c89bb add option to use system eigency (default off) 2017-07-23 14:57:02 -04:00
Duy-Nguyen Ta 0c3424d851 rearrange: move build unstable up before toolboxes wraps 2017-07-23 14:55:23 -04:00
Jing Dong 0f80f9bf41 static lib and examples compiles 2017-05-19 18:51:14 -07:00
Jing Dong 3f98942e9a a few tmp fix to bypass eigen errors, should not be permanent solutions 2017-05-17 14:30:17 -07:00
Jing Dong 9f30d225fe fixing compile issues on vc++14 2017-05-16 14:15:01 -07:00
Duy-Nguyen Ta e407a42160 Merge branch 'develop' into feature/cython_wrapper
# Conflicts:
#	wrap/Module.cpp
2016-11-25 03:43:36 -05:00
Duy-Nguyen Ta c54753d106 now can build and install with cmake 2016-11-25 02:27:12 -05:00
Ryan Estep d1cdafa3f5 Removed the boost::regex include (not used) from the matlab wrapper & removed any linking to boost::regex 2016-08-29 13:03:46 +12:00
Frank be21889e9d One flag to rule them all: GTSAM_TYPEDEF_POINTS_TO_VECTORS 2016-06-06 18:31:10 -07:00