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
Matthew Broadway
dc80bc0755
find correct interpreter version before looking for cython
2019-03-06 10:00:13 +00:00
Matthew Broadway
9c1dfd244f
fixed a bug where unsetting the cached python version leads to different numpy/cython/libraries being used
2019-02-28 09:14:39 +00:00
Matthew Broadway
e9e8ca3990
added option to specify python version
2019-02-28 09:14:39 +00:00
Matthew Broadway
09ac7f7c06
removed requirement for python 2.7 in cmake
2019-02-28 09:14:39 +00:00
Matthew Broadway
27f87d340e
caching cmake variables
2019-02-28 09:14:39 +00:00
Matthew Broadway
e896ae1c43
compile cython compatible with the chosen python version
2019-02-28 09:14:39 +00:00
Matthew Broadway
5670c73158
improved cython wrapper python3 support
2019-02-28 09:14:39 +00: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
88bfbceb21
Use standard BUILD_SHARED_LIBS
...
Instead of custom GTSAM_BUILD_STATIC_LIBRARY
2018-12-21 13:14:40 +01:00