Commit Graph

370 Commits (release/4.3a0)

Author SHA1 Message Date
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
dellaert fb0a5489d7 Added flag 2016-05-15 13:15:37 -07:00
dellaert 621aefb9a5 Forgot to commit cmake change 2016-04-16 13:22:49 -07:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
Frank Dellaert 5afdc24ca7 Merged in feature/typedefPoint3 (pull request #225)
Point3 -> Vector3
2016-02-18 11:13:33 -08:00
Frank 52fff13b6f Added configuration variable for typedef only 2016-02-17 12:19:03 -08:00
Chris Beall c11592e08f Merged in kartikmohta/gtsam/kartikmohta/use-system-eigen-if-version-325-since-t-1455053953897 (pull request #221)
Use system Eigen if version >= 3.2.5 since that includes our patches
2016-02-13 17:06:03 -05:00
Kartik Mohta 96714269a3 Change Eigen MKL warning message 2016-02-13 16:34:27 -05:00
Kartik Mohta 3df163837a Respect user's choice for using system Eigen, default to included copy 2016-02-13 15:08:54 -05:00
Enrique Fernandez 77e2be26c8 Disable GTSAM_BUILD_PYTHON by default 2016-02-12 16:19:00 -05:00
Kartik Mohta 9a7dba75c4 CMakeLists.txt: Fix eigen version check logic 2016-02-09 22:11:28 -05:00
Kartik Mohta dcbba523f2 Use system Eigen if version >= 3.2.5 since that includes our patches 2016-02-09 21:39:20 +00:00
Paul 760a375a32 External define for depricated functions 2016-02-09 10:30:05 -05:00
Chris Beall 79e29e3d19 Prohibit configuration with GTSAM_BUILD_PYTHON AND GTSAM_ALLOW_DEPRECATED_SINCE_V4 both turned ON 2016-02-02 01:34:13 -05:00
Chris Beall 4eeedd31fc Fix GTSAM_ALLOW_DEPRECATED_SINCE_V4 flag typo 2016-01-28 12:00:39 -05:00
dellaert 540772819b Added definition 2016-01-27 22:07:46 -08:00
Frank Dellaert f078741ed4 New GTSAM option 2016-01-26 23:57:44 -08:00
Chris Beall fe56fcd747 Make option text consistent with Matlab text 2016-01-24 23:40:11 -05:00
Chris Beall 4c44ddc4e6 Print all python-related dependency warnings at the end of cmake output with all the other warnings. Don't automatically toggle GTSAM_BUILD_PYTHON option to OFF - this is more consistent with how other options are handled. 2016-01-21 01:13:22 -05:00
Ellon Mendes 86c3cf7ff6 Print cmake python options 2015-12-02 13:35:17 +01:00
Ellon Mendes ff298451d7 Build Python module by default 2015-12-02 13:35:17 +01:00
Ellon Mendes ea6ecdd9d5 Move subdirlist macro to cmake/GtsamPythonWrap.cmake
Conflicts:
	cmake/GtsamPythonWrap.cmake
2015-12-02 13:35:16 +01:00
Ellon Mendes ffae37a675 Revert python module to use old handwritten files
Just noticed several handwritten files here. I'm reverting the python module to
use these handwritten files to later add the files I was wrapping to the same
framework.

Classes from geometry were wrapped for an old C++ interface, so several
boost python's .def(...) were commented out.

Conflicts:
	python/gtsam/.gitignore
2015-12-02 13:35:15 +01:00
Ellon Mendes 96d6b79f5e Start organizing python module
Organize gtsam modules into submodules. Start with a handwritten noiseModel
module.

Conflicts:
	CMakeLists.txt
2015-12-02 13:35:14 +01:00
Ellon Mendes 2dbe7fa2e9 Add numpy_eigen as a 3rd party library.
This commit adds a simple version of numpy_eigen, copied from
gtborg/numpy_eigen commit 255c09efb82496, and with a fix released in the commit
9a75383733b3dc4bc2bb0649053949ad2bec9326 of Scheizer-Messer/numpy_eigen
(https://github.com/ethz-asl/Schweizer-Messer/tree/master/numpy_eigen)

Conflicts:
	CMakeLists.txt
	gtsam/CMakeLists.txt
2015-12-02 13:35:14 +01:00
Andrew Melim ec934770f3 Initial stages of python wrapping. Issues with method overloading, boost optionals. Testing with Point2 only now 2015-12-02 13:35:13 +01:00
cbeall3 e694d62b3f Allow binding to optional rvalues (We should fix this properly) 2015-10-20 14:41:28 -04:00
dellaert b5d0383048 Fixed clang 7.0 warnings in boost headers 2015-10-08 12:35:12 -07:00
cbeall3 3ca9cb8022 this should fix the MKL linking problem 2015-06-22 11:43:30 -04:00
cbeall3 0f02b7d473 Prohibit Timing build mode with TBB. See issue #173 2015-06-17 16:23:27 -04:00
cbeall3 add6bf7dbd Correct documentation about Eigen patches 2015-05-20 13:58:58 -04:00
cbeall3 88e0ae3f7a Remove unneeded Eigen include config file, and minor cleanup 2015-03-18 21:46:12 -04:00
cbeall3 e565213c0f Append full Eigen include path to GTSAM_INCLUDE_DIR to dependent projects can find the same Eigen that GTSAM was configured with 2015-03-18 14:20:45 -04:00
cbeall3 f61e398e2d Deal with patched/un-patched version of householder_qr_inplace_blocked 2015-03-10 13:00:28 -04:00
Abe 531ecb4000 Get rid of hardcoded path to the internal version of eigen inside gtsam 2015-03-09 17:38:15 -07:00
cbeall3 f2c3826a40 print out Rot3 expmap configuration flag in summary 2015-02-12 15:43:53 -05:00
Andrew Melim 41197f1ec7 Move warning suppression 2014-11-25 15:51:49 -05:00
Andrew Melim ee63fb0bb4 Remove debug cmake messages 2014-11-25 15:44:59 -05:00
Chris Beall e34a237162 Merged in feature/ordering (pull request #34)
METIS Ordering
2014-11-24 18:04:35 -05:00
Andrew Melim 2bc381dbb4 Rename corrections 2014-11-24 17:12:41 -05:00
Andrew Melim ce93030b00 Correcting warnings on windows 2014-11-24 13:31:47 -05:00
Chris Beall deb9d93672 Rvalue fix for Boost 1.56+ instead of only 1.56 2014-11-23 19:50:16 -05:00
cbeall3 c40da17122 version bump 2014-11-13 20:27:04 -05:00
lvzhaoyang c3ac45b05b issue #124. Turn off Mac RPATH on non Mac machines work. 2014-10-22 23:42:35 -04:00
lvzhaoyang fc21cb49cb issue#124. Turn off MacOS relative flag in building cmake. 2014-10-22 23:27:01 -04:00
Andrew Melim ad74a4b8c9 Update ms_stdint.h in metis. Export libraries correctly 2014-10-14 19:14:59 -04:00
Andrew Melim 0771b1658b Ordering implementation, unit tests 2014-10-14 15:18:05 -04:00
cbeall3 9bb6beed92 Fix OpenMP configuration when MKL is enabled 2014-09-30 16:13:15 -04:00
Andrew Melim 5bc4810dcb Correcting bug fixes for Visual Studio. See bb issues #115,116,118 for more information 2014-09-08 15:19:54 -04:00
Richard Roberts 873283c522 Fixed broken timing script and fixed logic for building/excluding examples and timing scripts 2014-06-21 16:26:48 -07:00
Richard Roberts 946cc5338a Merge branch 'develop' into feature/timing_scripts_build
Conflicts:
	gtsam_unstable/CMakeLists.txt
2014-06-21 08:55:49 -07:00
cbeall3 8bee2cd70f Fixed unstable examples never getting built 2014-06-12 14:40:24 -04:00
Richard Roberts fe235b1209 Building timing scripts using new timing script support in GtsamTesting.cmake. Fixed compile errors in timing scripts but disabled a couple. 2014-06-07 19:02:11 -07:00
Richard Roberts 17c7e02003 Added support for timing scripts to build tools 2014-06-07 19:00:16 -07:00
cbeall3 bcbc7652a2 Fix for GTSAM_WITH_EIGEN_MKL not having any effect 2014-06-04 14:08:44 -04:00
cbeall3 0ce70befc4 version number 2014-05-31 13:13:48 -04:00
Chris Beall 1836b1c842 silence Wunused-local-typedefs warning on GCC 4.8+ 2014-05-30 17:07:09 -04:00
cbeall3 aa942a664b Fix for static linking to boost 2014-05-12 12:41:39 -04:00
Richard Roberts 5c86ad7e49 Fixed examples not being built due to branch "adding-scripts-simplify" 2014-02-22 17:14:01 -05:00
Richard Roberts e029204c01 Added cmake code to install cmake tools, and a GTSAM-CMakeToolsConfig file to automatically find them. 2014-02-19 13:10:37 -05:00
Richard Roberts 72ec292022 Merge branch 'develop' into feature/adding-scripts-simplify 2014-02-13 15:25:27 -05:00
Richard Roberts dec9dbbe60 Link with -lrt when using the old header-only boost timer library (boost < 1.48) 2014-02-13 14:20:25 -05:00
Richard Roberts 218500de11 Cleaned up flags for building examples and tests 2014-02-13 13:22:56 -05:00
Richard Roberts 661a157553 Working on standardizing/simplifying building unit tests and examples. Much simpler cmake function to add a glob of tests, doing away with convenience libraries, and removing other options that we never change from their defaults. 2014-02-13 01:34:31 -05:00
Richard Roberts c1a018a1fd Made OpenMP check a little smarter - only is performed if MKL is found, to speed up cmake. 2014-02-08 14:09:50 -05:00
Richard Roberts 9d2c5888b8 Made cmake slightly nicer when using Xcode - removed a couple unnecessary prints, and removed .run targets when using Xcode since they're not needed and clog up the project view. 2014-02-08 11:14:43 -05:00
Richard Roberts 46e40dfe95 Disabled find_package(MKL) and find_package(OpenMP) checks when not building MKL and/or OpenMP, to speed up cmake times. 2014-02-08 10:37:24 -05:00
Richard Roberts ed40c0d94a Merge branch 'feature/cmake-shared-static' 2014-01-30 14:44:47 -05:00
Richard Roberts 4baa3763bc Final cleanup of text files - README.md, LICENSE*, USAGE, and INSTALL. 2014-01-30 14:42:23 -05:00
Richard Roberts 4b8c17ec77 Changed target name to 'gtsam' instead of 'gtsam-shared' and 'gtsam-static'. Modified CMake options to only allow building either static or shared, but not both. Enabled GTSAM_BUILD_TYPE_POSTFIXES by default on all platforms. 2014-01-30 14:41:25 -05:00
Richard Roberts f830bc5de6 Disabled GTSAM_USE_SYSTEM_EIGEN flag until patches are incorporated into Eigen 2013-12-22 13:21:08 -05:00
Richard Roberts af18d11df6 Fixes for multiple-project builds where GTSAM is a subdirectory in a larger build 2013-12-15 18:36:44 +00:00
Andrew Melim ce1c654737 Remove print statement 2013-12-13 21:33:46 +00:00
Richard Roberts 501635352d Some cleanup in compiling wrappers 2013-12-12 18:37:27 +00:00
Richard Roberts 129e124539 Improvement in cmake MKL messages 2013-11-27 19:04:11 +00:00
Zsolt Kira a4c7ef9ef6 Undo accidental commit of CMakeLists modification 2013-11-26 15:44:54 +00:00
djensen3 e2cd2c2054 Added options for NonlinearFactorGraph printing to dot files 2013-11-26 15:41:15 +00:00
Richard Roberts 7069af2f51 Small improvement to CMake MKL/OpenMP messages 2013-11-19 00:26:14 +00:00
Richard Roberts 84f439a01d Cleaned up MKL-related CMake warning messages 2013-11-18 19:46:28 +00:00
Richard Roberts 701bb0054d Added TBB and MKL directories to GTSAM_INCLUDE_DIR in GTSAM cmake config 2013-11-18 19:23:26 +00:00
Richard Roberts 0608e9a05b Added support for MKL in Eigen and fixed several errors and warnings within Eigen when using MKL 2013-11-18 19:23:23 +00:00
Richard Roberts d2cb52ea01 Fixed some warnings 2013-11-18 19:23:16 +00:00
Pablo Fernandez Alcantarilla dc12e7300a Option added in cmake for setting the GTSAM_THROW_CHEIRALITY_EXCEPTION 2013-10-24 00:10:09 +00:00
Richard Roberts 0c6ea4057c Small cleanup on last commit 2013-10-13 22:55:59 +00:00
Richard Roberts 68a85afed0 Added allocator selection options to CMake, as well as detecting Google perftools and adding the option to use the tcmalloc allocator. Improved availability of TBB and allocator information in config.h and exported cmake config. 2013-10-13 22:21:07 +00:00
Richard Roberts bf40956592 Merged from Hmf6_unordered 970392249a8c50153f24594c9c81acb740cedd06 2013-10-03 19:51:56 +00:00
Richard Roberts b7b655cb7f Added option for configuring and installing an extra project-specific cmake definitions file 2013-08-24 18:01:26 +00:00
Richard Roberts 4d92914373 Fix for boost compile flags on windows 2013-08-22 21:44:15 +00:00
Richard Roberts 9f7bc2399e Small change in getting version numbers into config.h 2013-08-20 16:53:43 +00:00
Alex Cunningham c6cf4d2dab Removed use of convenience libraries for tests - wasn't really supported in current version 2013-08-19 15:32:21 +00:00
Alex Cunningham e841bbb41a incremented version number of trunk to 3.0.0 2013-08-19 15:32:18 +00:00
Richard Roberts 68c6bf4a38 Added CMake code and preprocessor macros so that everything works without TBB and falls back on single-threading 2013-08-16 20:26:07 +00:00
Richard Roberts 69e4a3fd94 Formatting of CMake printing 2013-08-16 20:26:05 +00:00
Richard Roberts a2d00e73e1 Removed flag to enable C++11 extensions 2013-08-13 21:02:21 +00:00
Alex Cunningham 410d8773eb Added comments with instructions for choosing a different version of boost 2013-08-07 18:58:36 +00:00
Richard Roberts e2f8dd866d Merge branch 'svn/trunk'
Conflicts:
	gtsam/linear/GaussianBayesTree.cpp
	gtsam/linear/GaussianBayesTree.h
	gtsam/linear/VectorValues.h
	gtsam/linear/tests/testVectorValues.cpp
	gtsam_unstable/nonlinear/sequentialSummarization.cpp
2013-08-06 18:33:24 +00:00
Alex Cunningham 4a7308844f Added fixme comment 2013-08-06 17:50:46 +00:00
Alex Cunningham cfcb27802a Added flag "-std=c++11" so that system would compile with gcc 2013-08-06 17:50:45 +00:00
Alex Cunningham 69d87d2de3 Added fix for issue with TBB library finding (with Richard) 2013-08-06 17:50:45 +00:00
Duy-Nguyen Ta a48864452b fix GTSAM_POSE3_EXPMAP warnings. Add GTSAM_ROT3_EXPMAP option. 2013-08-02 13:28:29 +00:00
Richard Roberts a3ea813518 Changed message 2013-08-01 21:57:54 +00:00