Commit Graph

148 Commits (b51e89c910d50ca6fd98fce1818bac77fac9da94)

Author SHA1 Message Date
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
Frank Dellaert c1840f3d24 Removed TODO, superfluous comments 2018-11-08 09:51:01 -05:00
Frank Dellaert e38a3156c3 Adding a pre-compiled header for MSVC 2018-11-04 12:37:43 -05:00
Frank Dellaert f8793f49ff Merge branch 'develop' into fix/msvc2017 2018-10-22 19:11:21 -04:00
Frank Dellaert aae802f89c Merge branch 'develop' into feature/cython-examples 2018-10-14 10:34:07 -04:00
Frank Dellaert 5aa75b5594 Remove -a, which created huge html files 2018-10-14 10:33:22 -04:00
Duy-Nguyen Ta c2541c0fc8 re-cythonize if pyx file is updated. 2018-10-13 22:46:20 -04:00
anuppari 0a5fd70f21 Minor fix to select mkl libs based on tbb use 2018-01-12 16:08:02 -07:00
aparikh 8f20c0c9af Update FindMKL.cmake and FindTBB.cmake
- Find more recent versions of MKL
- Work with Visual Studio 2015 (MSVC14)
2018-01-09 12:02:19 -07:00
Duy-Nguyen Ta 0d47d273c6 Fix the dependency problem where cython didn't get called when the header file is updated. Also change target gtsam_cython to cythonize_gtsam. 2017-10-08 22:11:54 -04:00
Duy-Nguyen Ta 6b208c0340 fix eigency build for Linux. Only Mac OS's linker needs the dynamic_lookup option for undefined symbols 2017-08-16 22:13:38 -04:00
Duy-Nguyen Ta acad9b0339 disable all warnings while compiling cython generated cpp 2017-08-14 17:23:24 -04:00
Duy-Nguyen Ta 6fb520b89d make cython fail at the first error 2017-08-14 17:22:04 -04:00
dellaert 74a33ff222 Re-structured argument overloading to call a common function 2017-08-06 11:07:13 -07:00
dellaert 81bb1d445a Fixed cmake so that it really defines CYTHON_EXECUTABLE (instead of just threatening to do so). This has the side-benefit that compilation now works from within eclipse. 2017-08-05 16:30:20 -07: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 b73e22220d remove FindClonedEigency.cmake 2017-07-28 15:22:40 -04:00
Duy-Nguyen Ta 742097aed0 eigency --> clonedEigency. Fixing bugs and improve eigency build. 2017-07-27 22:26:53 -04:00
Duy-Nguyen Ta 31eda8a38b quote ${dependencies} var so it's treated as one var in the if statement 2017-07-24 14:55:37 -04:00
Duy-Nguyen Ta aaea11dd83 deal with empty dependency list 2017-07-24 14:46:41 -04:00
Duy-Nguyen Ta 07574de9b0 also use the new cythonization mechanism for gtsam 2017-07-23 15:03:20 -04:00
Duy-Nguyen Ta b4aee31b76 allows multiple include dirs in cython command 2017-07-23 15:00:34 -04:00
Duy-Nguyen Ta 7977091e33 copy eigency into gtsam and cythonize it 2017-07-22 22:40:43 -04:00
Duy-Nguyen Ta 6b1c96869f specify libs to link with cython module for flexibility 2017-05-31 08:45:54 +08:00
Duy-Nguyen Ta cdac9a5c4c install cmake scripts to find dependencies for wrapping non-gtsam libs 2017-05-31 08:40:28 +08:00
Duy-Nguyen Ta ed31a0ae68 add numpy
It's not included in eigency include dirs in some systems
2017-05-28 02:55:19 +08: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
Duy-Nguyen Ta 544b06510a remove whitespaces 2017-05-24 23:46:36 +08:00
chrisbeall 993c282905 Add build dependency to ensure cython wrapper is built after cpp library 2017-05-22 16:30:50 -04:00
Jing Dong 0f80f9bf41 static lib and examples compiles 2017-05-19 18:51:14 -07:00