Commit Graph

141 Commits (d85d9c6194623a462c5b0288967503be2a95053f)

Author SHA1 Message Date
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
JOSE LUIS BLANCO CLARACO 5dcd61ba90 Fix PCH in MSVC 2018-11-25 23:51:34 +00:00
Frank Dellaert 415e4b10b1 Adding a pre-compiled header for MSVC
(cherry picked from commit e38a3156c3)
2018-11-04 22:48:10 -05:00
Simon Julier 108da4957a Set the INSTALL_NAME on the shared libraries. 2018-02-16 10:53:58 +00:00
Frank Dellaert 0dd7dcdc9f Merge branch 'develop' into feature/cython_wrapper 2017-12-02 18:33:02 -08:00
Ignacio Vizzo 4ebe9ec2dc Fix win32 build error for 3rdparty/ccolamd module
Supposing there is a typo in this line:
\# make sure that ccolamd compiles even in face of warnings
if(WIN32)
  set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "/w")

This will add "/w" to the compiler line, and on windows(gcc 6.3.0)
this will produce a build error:
  "gcc.exe: error: W:/: No such file or directory"

This change was introduced in gtsam with this commit:

  commit 7e2e0aaa6d
  Author: Frank <frank@skyd.io>
  Date:   Tue Mar 1 15:41:28 2016 -0800

   Appended flags instead of overwriting
2017-10-25 19:15:35 -03:00
chrisbeall 18fb907a85 As of SuiteSparse 4.5.6 CCOLAMD is now licensed under BSD-3! 2017-10-17 08:27:44 -07:00
Duy-Nguyen Ta 1521a7e8ef compile cython using the manual 2-step process
This is to leverage all compile and linking flags within the cmake build system.
http://cython.readthedocs.io/en/latest/src/reference/compilation.html#compiling-from-the-command-line
2017-05-24 23:55:15 +08:00
chrisbeall 993c282905 Add build dependency to ensure cython wrapper is built after cpp library 2017-05-22 16:30:50 -04:00
dellaert c8dec5d8dc Small changes in comments and docs 2017-05-20 12:23:41 -07:00
Duy-Nguyen Ta a6281e1932 unify gtsam.h for matlab and cython wrapper 2017-03-18 15:33:01 -04:00
Duy-Nguyen Ta 70552e9f6d improve cmake Cython wrapper scripts to be usable in other projects 2016-12-16 00:26:03 -05:00
Duy-Nguyen Ta c54753d106 now can build and install with cmake 2016-11-25 02:27:12 -05:00
Chris Beall 34c6527558 Merged in feature/append_flags (pull request #238)
Appended flags instead of overwriting
2016-07-12 13:57:35 -07:00
dellaert 2c7d2dfff4 Ingested CCOLAMD 2.9.5 from April 1, 2016 2016-04-16 12:49:08 -07:00
Frank 7e2e0aaa6d Appended flags instead of overwriting 2016-03-01 15:41:28 -08:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
cbeall3 42d85b6458 Merge remote-tracking branch 'origin/develop' into feature/sam_sfm_directories
# Conflicts:
#	gtsam/CMakeLists.txt
2015-06-08 16:18:52 -04:00
Abe 13a4da21b2 misc bugfixes and cleanup from skydio 2015-05-13 22:26:24 -07:00
cbeall3 8d272f4294 smart directory 2014-11-26 08:33:06 -05:00
Andrew Melim a0452bdac9 Minor format 2014-11-25 15:55:59 -05:00
Andrew Melim ee63fb0bb4 Remove debug cmake messages 2014-11-25 15:44:59 -05:00
Andrew Melim c5cee669b1 Formatting 2014-11-24 13:41:08 -05:00
Andrew Melim 96e649b1a4 Formatting 2014-11-24 13:33:36 -05:00
Andrew Melim ce93030b00 Correcting warnings on windows 2014-11-24 13:31:47 -05:00