Commit Graph

273 Commits (d9923fc3cc36605ce52ab35a71bb4a69713d045f)

Author SHA1 Message Date
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