Commit Graph

288 Commits (d6cd6a1cf5eb920f041cb732b4375f4e534f91d6)

Author SHA1 Message Date
Varun Agrawal 99f351da4c Merge branch 'develop' into feature/matlab-wrap 2021-03-10 15:59:57 -05:00
Varun Agrawal 9afce21ac5 delete example project since it is now its own git template 2021-03-10 09:18:09 -05:00
Varun Agrawal f03b12e420 Make matlab wrapping rely completely on the wrap project 2021-03-09 16:10:08 -05:00
Varun Agrawal 6f81bdea7b offload matlab wrapping to the wrap project 2021-03-09 15:07:15 -05:00
Varun Agrawal 48232a3357
Merge pull request #691 from borglab/fix-uninstall-target-exists
Avoid target collision if gtsam used as submodule
2021-03-08 14:56:55 -05:00
Fan Jiang cb05d01d06
Merge pull request #698 from borglab/feature/wrap_update
Fix GTSAM MATLAB Wrapper
2021-02-16 12:41:20 -05:00
Fan Jiang cd4c0c6dbd Fix GTSAM MATLAB 2021-02-15 19:40:40 -05:00
Jose Luis Blanco Claraco ffc4e59bfc
Avoid target collision if gtsam used as submodule 2021-02-05 02:26:35 +01:00
Varun Agrawal 79305fc497 set TBB default to Release unless TBB_USE_DEBUG_BUILD is set 2021-01-22 13:21:39 -05:00
Varun Agrawal 3d629290ee make non-editable CMake variables as INTERNAL 2021-01-22 13:21:09 -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
Varun Agrawal 085d01580e minor formatting of cmake file 2020-12-27 19:13:41 -05:00
Varun Agrawal 628ae26496 encapsulated and updated all the CMake related to Matlab 2020-11-18 16:29:53 -05:00
Varun Agrawal 812240b056 restructuring 2020-11-18 16:08:06 -05:00
Varun Agrawal 30afc95936 placed MEX check to new cmake file 2020-11-18 16:05:13 -05:00
Varun Agrawal 8c7a404ace Merge branch 'develop' into feature/system-metis-lib 2020-11-18 15:18:29 -05:00
Varun Agrawal a94b6dacaf Print message when either Pose3 or Rot3 expmap is ON 2020-11-12 11:15:50 -05:00
Varun Agrawal c2455082db Force EXPMAP option for both if either POSE3 or ROT3 is set 2020-11-11 13:34:40 -05:00
Varun Agrawal bb313eb7ce Fix python discovery for MATLAB wrapper 2020-11-07 18:19:04 -05:00
Jose Luis Blanco-Claraco 1da968afd3
Automatic detection of correct suggest-override flag 2020-10-28 07:43:16 +01:00
Jose Luis Blanco-Claraco 9d41178070
Use METIS system library if so selected 2020-10-19 07:52:12 +02:00
Frank dellaert 8a7ce130ad Fix warning on clang 2020-10-12 14:32:21 -04:00
Jose Luis Blanco Claraco 69b2cacbe7
Revert use system Eigen if found 2020-10-07 17:03:20 +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 b1c2e0174b
Use system eigen3 only if first quietly found. 2020-10-06 22:58:42 +02:00
Jose Luis Blanco Claraco 8b2b7476e1
Remove obsolete comments 2020-10-06 22:58:21 +02:00
Jose Luis Blanco Claraco e9e87526c4
refactor cmake scripts into smaller files 2020-10-06 18:10:11 +02:00
Varun Agrawal b30448733c remove all Cython references 2020-10-01 19:56:35 -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 f64ced8791 Don't print private compile options 2020-09-17 21:43:31 -04:00
Varun Agrawal 859c157a0f Use cmake to identify best Python version if Default requested 2020-09-17 21:26:11 -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
Jose Luis Blanco Claraco 8a9780113a
remove leftover cmake debug trace 2020-07-27 00:16:28 +02:00
Jose Luis Blanco Claraco 99256c6d28
relax override -Werror for now 2020-07-26 23:35:49 +02:00
Jose Luis Blanco Claraco 64fb7b9503
Avoid -Woverride in clang <12.0.0 2020-07-26 23:35:11 +02:00
Jose Luis Blanco Claraco 0198c648e3
Fix all new gcc warnings/errors: make explicit virtual/override methods.
Rules are:
- use "virtual" in base classes only.
- use "override" in all derived classes.
2020-07-26 11:20:42 +02:00
Jose Luis Blanco Claraco 4e3638f6a7
enable compiler warnings and errors for safer code 2020-07-26 08:41:57 +02: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 289ab6271d added cmake policy for AppleClang compiler identification 2020-07-11 21:44:38 -04:00
Varun Agrawal e08e392020 Improved paths and added checks 2020-07-05 21:57:18 -05:00
Varun Agrawal d2f69eeab4 Add python-install dependency for gtsam_unstable as well 2020-07-01 17:07:31 -05:00
Varun Agrawal a6908cd1cb removed unneeded install commands and updated README 2020-07-01 16:23:24 -05:00
Varun Agrawal 59968fddc5 Python Wrapper CMake update
- Added python-install target variable for easy updating.
- Fixed/Added all dependencies so that everything is built automatically.
- Removed unnecessary install commands
2020-07-01 14:36:57 -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 7a725bf46a Remove redundant postfix checking since the postfix is already added at the top level 2020-06-30 20:48:01 -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
Varun Agrawal 5feaf6dd9d reset to previous version 2020-06-24 14:07:28 -05:00
Varun Agrawal 9698b03253 removed extra line 2020-06-24 14:06:25 -05:00
Varun Agrawal efde078b94 pure CMake script to install Python wrapper after compiling 2020-06-24 14:05:17 -05:00
Varun Agrawal ca46ebfda8 added comments and removed unnecessary code 2020-06-22 20:20:50 -05:00
Varun Agrawal 93a00a38a4 add new make command for installing python wrapper 2020-06-22 20:14:03 -05:00
Varun Agrawal 1725a577cf cmake function to install python package once make install is completed 2020-06-22 17:25:29 -05:00
Tuwuh S Wibowo 046bcaa031 Add full path to Python library, esp useful for VS generator 2020-05-21 13:23:18 -04:00
Tuwuh S Wibowo 125d59dfcd Fix Cython build on Windows/MSVC, tested on MSVC 2019 compiler 2020-05-21 02:15:15 -04:00
acxz 3d328f12a2 add path to find iomp5 mkl library 2020-05-07 09:07:16 -04:00
acxz 81494cefdf remove trailing whitespaces 2020-05-07 09:02:29 -04:00
alescontrela 211119b00e Replace addPrior<> with addPrior 2020-04-12 13:10:09 -04:00
alescontrela aa3ac32235 Change all old cases of graph.emplace_shared<PriorFactor<...>>(...) and graph.add(PriorFactor<...>(...)) to graph.addPrior<...>(...). Removed unnecessary PriorFactor.h includes. 2020-04-11 20:09:54 -04:00
alescontrela f4525b51e4 Change PriorFactor includes from gtsam/slam to gtsam/nonlinear 2020-04-10 22:26:22 -04:00
Fan Jiang cbea85dafd Regression 2020-01-06 22:42:52 -05:00
Fan Jiang ef8026bc23 Regression 2020-01-06 22:35:11 -05:00
Fan Jiang 982c904c1c Cleanup the cmake files 2020-01-06 18:52:09 -05:00
Fan Jiang 4e9dd1292d Fix library find 2020-01-05 13:15:07 -05:00
Jose Luis Blanco-Claraco e658aed6bd
MSVC build fixes 2019-12-28 20:31:46 +01:00
Jose Luis Blanco Claraco 1f6c1dfb85
More consistent (not) use of CMAKE_INSTALL_PREFIX. 2019-12-22 17:09:50 +01:00
Varun Agrawal c7111dbbd3 install GtsamPrinting.cmake as part of installation 2019-12-03 15:42:21 -05:00
Jose Luis Blanco Claraco 99856befce
Use gcc -fPIC flag when building gtsam libraries
This flag is required to ensure proper code generation for shared
libraries.
2019-11-11 23:22:17 +01:00
Jose Luis Blanco-Claraco 6badcefac4
Patches to use CMake's FindBoost into gtsam 2019-10-07 11:42:38 +02:00
Jose Luis Blanco-Claraco 3e01411010
Import FindBoost from CMake v3.15.4 2019-10-07 11:36:06 +02:00
Jose Luis Blanco-Claraco bbf007e4e4
Remove obsolete cmake FindXX modules.
Exported config files are preferred over modules, and easier to maintain.
2019-10-07 11:15:31 +02:00
Ellon Paiva Mendes 3fad1fa81b
Install GTSAMConfigVersion.cmake 2019-10-07 11:13:42 +02:00
Jose Luis Blanco-Claraco ec04369c88
Merge pull request #85 from borglab/msvc-fixes
Changes to get gtsam to compile in Windows and fix matlab builds
2019-07-19 07:42:51 +02:00
Jose Luis Blanco-Claraco 1ca0e3395c Partial fix to MSVC Matlab builds 2019-07-12 07:58:18 +02:00
Jose Luis Blanco-Claraco 6dec8b1268 fix cmake error with MATLAB 2019-07-12 01:16:24 +02:00
Jose Luis Blanco-Claraco 69c3eafb30
Add NOMINMAX macro for MSVC via cmake 2019-07-11 14:27:09 +02:00
Jose Luis Blanco-Claraco f52db1eadc
undo whitespace changes 2019-07-11 14:23:14 +02:00
Clark Taylor 2cf4514e81 Changes to get gtsam to compile in Windows 2019-07-11 13:55:12 +02:00
Jose Luis Blanco Claraco 64ead677c2 add minimal cmake-based user project template 2019-07-11 00:53:18 +02:00
Varun Agrawal 4f5d13f328 GtsamCythonWrap.cmake update
- Update install directory so that the release tag is appended to the cython directory only rather than the specific subdirectories.
- Update the target properties so that the .so files don't have the build type appended as a postfix.
2019-06-17 16:36:50 -04:00
Jose Luis Blanco Claraco 0a6fecd30b fix cmake warning 2019-06-16 02:30:28 +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
Varun Agrawal b8292399d6 renamed all READMEs to README.md and updated markdown syntax 2019-06-13 17:26:07 -04:00
Frank Dellaert 4e19ba4488
Merge pull request #54 from jlblancoc/add_make_check_valgrind
add command `make check_valgrind`
2019-06-11 12:09:27 -04: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 05e8fbcb14 re-indent: script had an inconsistent mix of tabs and spaces 2019-06-11 07:21:10 +02:00
Jose Luis Blanco Claraco 2d67ade5f2 targets renamed: xxx.valgrind 2019-06-11 07:19:26 +02:00
Jose Luis Blanco Claraco 2c7389db76 add command `make check_valgrind` 2019-06-10 18:08:05 +02:00
Jose Luis Blanco Claraco 3a85be2531 provide 2019-06-10 12:41:27 +02:00
Jose Luis Blanco-Claraco b36dc081e0 Nicer grouping in IDE "folders" 2019-06-02 11:46:43 +02:00
Jose Luis Blanco-Claraco ab8b2f5263 -march=native is not for MSVC 2019-06-02 11:32:38 +02:00
Jose Luis Blanco-Claraco a4b5f4cf08
Fix GTSAMconfig.cmake for cmake <3.8
Closes #22
2019-05-27 01:25:41 +02:00
chrisbeall 7b9ed50daa Add option to toggle march=native 2019-05-18 15:15:27 -07:00
Varun Agrawal 60b874b997 README for compiling and using the example_project 2019-05-17 18:38:15 -04:00
Varun Agrawal e985e2c95d added default constructor for PrintExamples 2019-05-17 18:30:19 -04:00
Varun Agrawal a743a4acc9 change example_project .so file from STATIC to SHARED, and install library to /lib in install path 2019-05-17 18:29:51 -04:00
Varun Agrawal 5b85fc885f added required includes to fix compilation of matlab wrapper example 2019-05-17 12:15:10 -04:00
Fan Jiang 0d924e23db Fix compilation on MKL 2019 2019-03-12 14:49:18 +08:00
Matthew Broadway 2f232fd4d4 removed redundant call to find_package 2019-03-07 15:58:05 +00:00