Commit Graph

370 Commits (release/4.3a0)

Author SHA1 Message Date
cbeall3 8bee2cd70f Fixed unstable examples never getting built 2014-06-12 14:40:24 -04:00
Richard Roberts fe235b1209 Building timing scripts using new timing script support in GtsamTesting.cmake. Fixed compile errors in timing scripts but disabled a couple. 2014-06-07 19:02:11 -07:00
Richard Roberts 17c7e02003 Added support for timing scripts to build tools 2014-06-07 19:00:16 -07:00
cbeall3 bcbc7652a2 Fix for GTSAM_WITH_EIGEN_MKL not having any effect 2014-06-04 14:08:44 -04:00
cbeall3 0ce70befc4 version number 2014-05-31 13:13:48 -04:00
Chris Beall 1836b1c842 silence Wunused-local-typedefs warning on GCC 4.8+ 2014-05-30 17:07:09 -04:00
cbeall3 aa942a664b Fix for static linking to boost 2014-05-12 12:41:39 -04:00
Richard Roberts 5c86ad7e49 Fixed examples not being built due to branch "adding-scripts-simplify" 2014-02-22 17:14:01 -05:00
Richard Roberts e029204c01 Added cmake code to install cmake tools, and a GTSAM-CMakeToolsConfig file to automatically find them. 2014-02-19 13:10:37 -05:00
Richard Roberts 72ec292022 Merge branch 'develop' into feature/adding-scripts-simplify 2014-02-13 15:25:27 -05:00
Richard Roberts dec9dbbe60 Link with -lrt when using the old header-only boost timer library (boost < 1.48) 2014-02-13 14:20:25 -05:00
Richard Roberts 218500de11 Cleaned up flags for building examples and tests 2014-02-13 13:22:56 -05:00
Richard Roberts 661a157553 Working on standardizing/simplifying building unit tests and examples. Much simpler cmake function to add a glob of tests, doing away with convenience libraries, and removing other options that we never change from their defaults. 2014-02-13 01:34:31 -05:00
Richard Roberts c1a018a1fd Made OpenMP check a little smarter - only is performed if MKL is found, to speed up cmake. 2014-02-08 14:09:50 -05:00
Richard Roberts 9d2c5888b8 Made cmake slightly nicer when using Xcode - removed a couple unnecessary prints, and removed .run targets when using Xcode since they're not needed and clog up the project view. 2014-02-08 11:14:43 -05:00
Richard Roberts 46e40dfe95 Disabled find_package(MKL) and find_package(OpenMP) checks when not building MKL and/or OpenMP, to speed up cmake times. 2014-02-08 10:37:24 -05:00
Richard Roberts ed40c0d94a Merge branch 'feature/cmake-shared-static' 2014-01-30 14:44:47 -05:00
Richard Roberts 4baa3763bc Final cleanup of text files - README.md, LICENSE*, USAGE, and INSTALL. 2014-01-30 14:42:23 -05:00
Richard Roberts 4b8c17ec77 Changed target name to 'gtsam' instead of 'gtsam-shared' and 'gtsam-static'. Modified CMake options to only allow building either static or shared, but not both. Enabled GTSAM_BUILD_TYPE_POSTFIXES by default on all platforms. 2014-01-30 14:41:25 -05:00
Richard Roberts f830bc5de6 Disabled GTSAM_USE_SYSTEM_EIGEN flag until patches are incorporated into Eigen 2013-12-22 13:21:08 -05:00
Richard Roberts af18d11df6 Fixes for multiple-project builds where GTSAM is a subdirectory in a larger build 2013-12-15 18:36:44 +00:00
Andrew Melim ce1c654737 Remove print statement 2013-12-13 21:33:46 +00:00
Richard Roberts 501635352d Some cleanup in compiling wrappers 2013-12-12 18:37:27 +00:00
Richard Roberts 129e124539 Improvement in cmake MKL messages 2013-11-27 19:04:11 +00:00
Zsolt Kira a4c7ef9ef6 Undo accidental commit of CMakeLists modification 2013-11-26 15:44:54 +00:00
djensen3 e2cd2c2054 Added options for NonlinearFactorGraph printing to dot files 2013-11-26 15:41:15 +00:00
Richard Roberts 7069af2f51 Small improvement to CMake MKL/OpenMP messages 2013-11-19 00:26:14 +00:00
Richard Roberts 84f439a01d Cleaned up MKL-related CMake warning messages 2013-11-18 19:46:28 +00:00
Richard Roberts 701bb0054d Added TBB and MKL directories to GTSAM_INCLUDE_DIR in GTSAM cmake config 2013-11-18 19:23:26 +00:00
Richard Roberts 0608e9a05b Added support for MKL in Eigen and fixed several errors and warnings within Eigen when using MKL 2013-11-18 19:23:23 +00:00
Richard Roberts d2cb52ea01 Fixed some warnings 2013-11-18 19:23:16 +00:00
Pablo Fernandez Alcantarilla dc12e7300a Option added in cmake for setting the GTSAM_THROW_CHEIRALITY_EXCEPTION 2013-10-24 00:10:09 +00:00
Richard Roberts 0c6ea4057c Small cleanup on last commit 2013-10-13 22:55:59 +00:00
Richard Roberts 68a85afed0 Added allocator selection options to CMake, as well as detecting Google perftools and adding the option to use the tcmalloc allocator. Improved availability of TBB and allocator information in config.h and exported cmake config. 2013-10-13 22:21:07 +00:00
Richard Roberts bf40956592 Merged from Hmf6_unordered 970392249a8c50153f24594c9c81acb740cedd06 2013-10-03 19:51:56 +00:00
Richard Roberts b7b655cb7f Added option for configuring and installing an extra project-specific cmake definitions file 2013-08-24 18:01:26 +00:00
Richard Roberts 4d92914373 Fix for boost compile flags on windows 2013-08-22 21:44:15 +00:00
Richard Roberts 9f7bc2399e Small change in getting version numbers into config.h 2013-08-20 16:53:43 +00:00
Alex Cunningham c6cf4d2dab Removed use of convenience libraries for tests - wasn't really supported in current version 2013-08-19 15:32:21 +00:00
Alex Cunningham e841bbb41a incremented version number of trunk to 3.0.0 2013-08-19 15:32:18 +00:00
Richard Roberts 68c6bf4a38 Added CMake code and preprocessor macros so that everything works without TBB and falls back on single-threading 2013-08-16 20:26:07 +00:00
Richard Roberts 69e4a3fd94 Formatting of CMake printing 2013-08-16 20:26:05 +00:00
Richard Roberts a2d00e73e1 Removed flag to enable C++11 extensions 2013-08-13 21:02:21 +00:00
Alex Cunningham 410d8773eb Added comments with instructions for choosing a different version of boost 2013-08-07 18:58:36 +00:00
Richard Roberts e2f8dd866d Merge branch 'svn/trunk'
Conflicts:
	gtsam/linear/GaussianBayesTree.cpp
	gtsam/linear/GaussianBayesTree.h
	gtsam/linear/VectorValues.h
	gtsam/linear/tests/testVectorValues.cpp
	gtsam_unstable/nonlinear/sequentialSummarization.cpp
2013-08-06 18:33:24 +00:00
Alex Cunningham 4a7308844f Added fixme comment 2013-08-06 17:50:46 +00:00
Alex Cunningham cfcb27802a Added flag "-std=c++11" so that system would compile with gcc 2013-08-06 17:50:45 +00:00
Alex Cunningham 69d87d2de3 Added fix for issue with TBB library finding (with Richard) 2013-08-06 17:50:45 +00:00
Duy-Nguyen Ta a48864452b fix GTSAM_POSE3_EXPMAP warnings. Add GTSAM_ROT3_EXPMAP option. 2013-08-02 13:28:29 +00:00
Richard Roberts a3ea813518 Changed message 2013-08-01 21:57:54 +00:00
Richard Roberts 0d05bf5ac5 Started on HessianFactor, converted Nonlinear stuff and disabled a lot of more advanced classes so the library compiles with nonlinear using unordered. 2013-08-01 21:57:43 +00:00
Richard Roberts 2705d85fa7 Merged from branch 'trunk' 2013-07-31 18:55:15 +00:00
Richard Roberts c413789a0a Linking examples with Boost program options library 2013-07-31 18:53:25 +00:00
Richard Roberts c48593daf1 Removed disabling of a warning 2013-07-09 17:54:08 +00:00
Richard Roberts b5c530d080 Merge branch 'svn/trunk'
Conflicts:
	CMakeLists.txt
2013-07-09 17:54:06 +00:00
Richard Roberts 0847cbe3d8 Restored TBB includes 2013-07-09 17:50:48 +00:00
Richard Roberts 57193a7f65 Link with TBB and use auto-generated dllexport.h 2013-07-09 17:50:24 +00:00
Richard Roberts ecb24ebd06 Fixes to include path ordering and boost libraries 2013-07-09 15:43:55 +00:00
Richard Roberts 92bd5f18cf Formatting fixes 2013-07-01 20:20:14 +00:00
Richard Roberts 65529e6cf2 Disabled additional warnings 2013-07-01 20:19:34 +00:00
Richard Roberts 045a3d281f Only use Boost dynamic auto-linking flag on Windows 2013-06-04 13:37:12 +00:00
Alex Cunningham 6b47aaeba3 Added cmake option for extra consistency checks and added functionality to Pose3 expmap flag 2013-05-21 14:18:01 +00:00
Richard Roberts ea1f374930 Incremented version number to 2.3.0 2013-05-08 15:25:01 +00:00
Duy-Nguyen Ta 723ff2c9ad add GTSAM_POSE3_EXPMAP option to CMakeLists and config.h.in to let users specify POSE3_DEFAULT_COORDINATES_MODE before compilation. 2013-04-30 17:17:51 +00:00
Richard Roberts 34730a92cc Fixed problem with system eigen include path 2013-04-25 19:12:25 +00:00
Alex Cunningham d8034f73c5 Added install commands for generated header files 2013-04-25 18:40:21 +00:00
Richard Roberts fe07dee964 Moved system eigen switch to top-level CMakeLists so that it's used in all files 2013-04-25 16:32:06 +00:00
Richard Roberts eeef9eab32 Generating config.h file in CMake with quaternion mode flag, dataset paths. Also added CMake option to use system-installed Eigen, which works by generating a global eigen include file containing the corresponding include paths. 2013-04-25 15:57:15 +00:00
Richard Roberts ddea66e026 Disabled additional msvc warnings 2013-04-18 17:41:56 +00:00
Richard Roberts 547323cc79 Fixed a bunch of compiler warnings 2013-04-05 21:34:04 +00:00
Richard Roberts a54d177202 Added dll export tags and updated cmake scripts so that GTSAM can build as a shared library on windows 2013-03-13 18:56:21 +00:00
Richard Roberts 6111c099ab Improved build of shared vs static GTSAM libraries - now possible to build either one or both, executables link to the shared if it is being build, or otherwise to the static. Also removed separate shared/static CMake flags for gtsam_unstable, now uses the same GTSAM_BUILD_SHARED and GTSAM_BUILD_STATIC as gtsam. 2013-03-13 18:17:39 +00:00
Alex Cunningham 799bd30eea Added option to manually disable using newer boost timers to minimize linking complexity 2013-02-14 20:42:17 +00:00
Richard Roberts 6572400bc3 Improved handling of Boost shared libraries on Windows 2013-02-04 21:28:39 +00:00
Richard Roberts cdf5e83dee Updated gtsam CMake files from changes to wrap CMake files 2013-01-28 17:03:19 +00:00
Richard Roberts 682daa3e61 Disabled building timing scripts by default 2012-12-11 19:16:08 +00:00
Richard Roberts f2a7ccae2d Automatically searching for 'mex' in common MATLAB paths 2012-11-14 00:55:33 +00:00
Richard Roberts 2b7350ce45 Incremented version to 2.2.0 2012-10-09 02:54:23 +00:00
Richard Roberts 34fda99f30 Added missing chrono library when statically compiling matlab wrapper 2012-10-08 22:51:53 +00:00
Richard Roberts 4fc056b4b5 Cleaned up Boost version checks 2012-10-08 22:40:55 +00:00
Richard Roberts 1daac6baf0 Nicer formatting in main CMakeLists.txt 2012-10-08 22:40:53 +00:00
Alex Cunningham 394485d543 Whitespace only 2012-10-04 20:23:44 +00:00
Alex Cunningham 0c0c0a7221 Added fix to allow for versions of boost < 1.47 2012-10-03 17:36:24 +00:00
Richard Roberts 4876cc7ff7 Revamped timing statements - much easier to use, exception-safe (see email to frankcvs list) 2012-10-02 18:36:39 +00:00
Richard Roberts 0554532fcd Disabled timing scripts for now (they are outdated and do not compile) 2012-09-11 15:58:41 +00:00
Richard Roberts 6fb948e9d2 Changed default to not build matlab toolbox 2012-09-10 18:16:59 +00:00
Richard Roberts f16a981a27 Added first pass of script to automatically generate self-contained precompiled matlab toolbox 2012-09-03 18:32:49 +00:00
Alex Cunningham 3522d09c4e Adding options for making deb packages 2012-09-03 03:06:09 +00:00
Alex Cunningham a058ecb692 disabled installing doc during creation of deb packages 2012-08-31 19:22:07 +00:00
Chris Beall bf71e497cd linking fix on Mac for testDataset 2012-08-28 15:38:08 +00:00
Chris Beall a66a42189c fixes for Boost 1.50 2012-07-24 20:44:13 +00:00
Richard Roberts c8daa42348 Wrapped JointMarginal class and joint marginal functions of Marginals 2012-07-21 23:54:55 +00:00
Alex Cunningham ce65f2e925 Added cmake script for generating doxygen in more detail, can now generate documentation for all of gtsam and gtsam_unstable 2012-07-21 20:05:28 +00:00
Alex Cunningham c9c43e1cf5 Fixed cpack ignores to skip the makestats script 2012-07-21 20:05:27 +00:00
Alex Cunningham 4113a09b3a Enabled building doxygen docs by default (only when running make doc and when doxygen present, however) 2012-07-16 14:56:11 +00:00
Alex Cunningham 8580d3dec5 Added clean_doc target to remove generated doxygen documentation 2012-07-15 19:57:31 +00:00
Alex Cunningham 08ea3efb06 Improved configurability of doxygen output - can choose output via cmake varialbles 2012-07-14 21:39:59 +00:00
Alex Cunningham 88b51d45b8 Added doxygen support via cmake using 'make doc' 2012-07-14 21:39:58 +00:00
Alex Cunningham 8003ab66d7 Fixed the type setting so that paths can be set easily in cmake-gui 2012-07-14 20:30:27 +00:00
Richard Roberts 6c9608752e Small cleanups / fixes in handling of compile options 2012-07-13 21:55:00 +00:00
Richard Roberts 191d73df0b Simplified matlab wrapper cmake options 2012-07-13 21:54:52 +00:00
Richard Roberts 5912b7f235 Moved library postfix option to GtsamBuildTypes 2012-07-05 18:07:18 +00:00
Andrew Melim f68ba93f3d Dep checking for cmake 2012-06-30 01:34:04 +00:00
Alex Cunningham 4abefa3cbe Merge branch 'master' into new_wrap_local 2012-06-28 16:12:57 +00:00
Richard Roberts d5fbfcb7b7 Create and load CMake exports and config files 2012-06-19 22:06:40 +00:00
Alex Cunningham a5f3f75d1d Removed mex make flag 2012-06-08 17:12:08 +00:00
Alex Cunningham 30fd9d2a95 Added back a flag for toolbox make commands 2012-06-08 14:28:00 +00:00
Richard Roberts 4f7b29dbfd Correct BOOST version in CMakeLists.txt (2nd attempt) 2012-06-08 13:30:49 +00:00
Andrew Melim b2f2db4fdd j2 not supported by mex in GTSAM_BUILD_MEX_BINARY_FLAGS 2012-06-07 22:13:51 +00:00
Alex Cunningham d70622abe0 Rearranged matlab folders to avoid calling utility functions "examples" 2012-06-07 20:09:54 +00:00
Alex Cunningham 00b6f177d2 Removing unnecessary boost dependencies - may need more fixing 2012-06-05 19:25:31 +00:00
Alex Cunningham ad3b431c4d Moved building of wrap libraries to a cmake macro and moved install for matlab components to the appropriate folder 2012-06-05 18:05:00 +00:00
Alex Cunningham 02ce40546f Changed names of cmake flags to be more intuitive, fixed include/library path issues for building the mex binaries 2012-06-05 17:20:19 +00:00
Richard Roberts fd592dd689 Reverted using boost chrono because chrono is not available on boost <1.47 2012-06-05 15:18:44 +00:00
Richard Roberts 90578e2532 Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam.h
	wrap/CMakeLists.txt
2012-06-05 13:11:34 +00:00
Alex Cunningham 9efcf8e17c Added option to include path to mex executable in CMake 2012-06-04 21:01:25 +00:00
Alex Cunningham e1725fb8e3 Fleshed out support for building MEX binaries during gtsam build 2012-06-04 15:33:16 +00:00
Richard Roberts 695f2756db Build scripts 2012-06-04 13:44:02 +00:00
Richard Roberts 592a251a05 Fixed path and compile problems with matlab wrapper on windows 2012-05-28 20:48:36 +00:00
Richard Roberts 363b44057b Made new cmake config scripts find correct build configuration 2012-05-28 14:59:50 +00:00
Richard Roberts 1ca9e7049e Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam/linear/HessianFactor.h
	gtsam/nonlinear/Marginals.cpp
2012-05-28 12:22:36 +00:00
Alex Cunningham 0d597082f2 Added optional target to build the matlab toolbox as a part of the gtsam build process 2012-05-25 21:18:41 +00:00
Richard Roberts d945dd8b6a Tweaking build settings for visual studio 2012-05-24 20:11:38 +00:00
Richard Roberts 5039531c3b Merge remote-tracking branch 'svn/branches/cmake_config_files' into windows
Conflicts:
	.gitsvnextmodules
	CMakeLists.txt
	gtsam/CMakeLists.txt
2012-05-24 20:11:26 +00:00
Richard Roberts 90717dd583 Tweaking build settings for visual studio 2012-05-23 21:23:32 +00:00
Richard Roberts 7cdd8e19da Tweaking build scripts for visual studio 2012-05-23 18:51:42 +00:00
Richard Roberts 2060f1dd22 Initial changes to compile on windows 2012-05-22 20:37:13 +00:00
Richard Roberts a164a66b77 In progress with cmake config files 2012-05-21 23:38:25 +00:00
Alex Cunningham 720ff3ac82 Added a flag to optionally remove examples from "all" target 2012-05-19 02:21:21 +00:00
Richard Roberts fac7d8f4fb Set version number in CMakeLists.txt to 2.0.0 2012-05-15 05:12:21 +00:00
Richard Roberts 146a1adf53 Distribution tarball does not contain gtsam_unstable and cmake options
related to gtsam_unstable are not available/visible in CMake in tarball
builds.
2012-05-15 05:12:13 +00:00
Alex Cunningham 0b57e3c80b fixed small bugs in the build script 2012-05-03 17:03:28 +00:00
Alex Cunningham 9ce892ce65 gtsam_unstable now builds and tests pass 2012-05-03 17:03:25 +00:00
Alex Cunningham 99971df559 Added flag to control whether tests are built with the make all target 2012-05-01 16:24:45 +00:00
Richard Roberts 9a1115c49b Moved check target to GtsamTesting.cmake 2012-04-24 14:21:15 +00:00
Richard Roberts 2ba66eaef7 Append CMAKE_MODULE_PATH instead of replacing 2012-04-24 14:01:40 +00:00
Richard Roberts f6fa836274 Refactored build types into separate cmake file to allow inclusion in projects 2012-04-21 01:45:05 +00:00
Alex Cunningham 08bacd544f Added make targets for creating binary/source packages for gtsam 2012-04-10 17:13:59 +00:00
Alex Cunningham da63e6757c Fixed cpack install to work with tgz, deb and rpm 2012-04-10 16:47:02 +00:00
Alex Cunningham 48e3916ea2 removed commented cmake code 2012-04-05 17:44:22 +00:00
Alex Cunningham 204b36fc05 Changes to make ROS hooks work with cmake 2012-04-01 22:21:07 +00:00
Richard Roberts bc0dfb3f8d Fixed not forcing Debug build if CMAKE_BUILD_TYPE is already set. Added 'None' build type to allow build flags to come entirely from environment variables. 2012-03-31 00:59:49 +00:00
Alex Cunningham 4d4ea69919 updating build docs and comments 2012-03-30 18:14:31 +00:00
Alex Cunningham cdbeebaf1d Small changes trying to remove dependency between install and all targets 2012-03-29 20:32:05 +00:00
Richard Roberts cba4b9573d Compilation flags as cache variables, build types for timing and profiling, printing compilation flags 2012-03-07 20:14:15 +00:00
Alex Cunningham e6d1c37ded Adjusting warning flags, added "verbose" make targets 2012-03-04 17:46:29 +00:00
Richard Roberts a8a2ce3cf9 Set version number to 1.9.0 (i.e. pre-2.0) 2012-03-01 16:07:54 +00:00
Alex Cunningham 58b64da525 Added better printout of configurable cmake options at the end of configuration 2012-02-29 04:11:48 +00:00
Richard Roberts 0fb0a11d36 Added CPack support for making tarballs 2012-02-28 22:43:45 +00:00
Alex Cunningham 64ca0df5df Rerranged make targets, added back missing cmake option 2012-02-24 21:35:36 +00:00
Alex Cunningham 59b1197c9f Back-ported cmake from the 2.0prep branch 2012-02-24 15:53:50 +00:00
Stephen Williams 644de36e47 Added a Quaternion flag to CMakeLists, default to Off 2012-02-24 15:03:01 +00:00
Alex Cunningham 28f2276cc4 Added flag to link against local convenience libraries for tests 2012-01-31 19:59:19 +00:00
Alex Cunningham 2f44444efe cmake codegen and install now works 2012-01-31 19:59:16 +00:00
Alex Cunningham c43a9b4852 Added a variety of options to the cmake build, working on automating wrap execution/install 2012-01-31 19:59:15 +00:00
Alex Cunningham b92e4a08dc Fixed library versioning to get the symlinks correct in cmake install 2012-01-31 19:59:12 +00:00
Alex Cunningham 910beebb8f Added wrap to build, assorted cleanup 2012-01-31 05:28:03 +00:00
Alex Cunningham 03b4743e7a Removed unnecessary cpp file in vSLAMexample, added CMake support for examples, used static linking to the real gtsam for tests 2012-01-31 05:28:02 +00:00
Alex Cunningham e45514e858 added tests folder to cmake build, fixed testSerialization due to namespace changes, set up linking with boost 2012-01-31 05:28:00 +00:00
Alex Cunningham c3030d175f geometry now builds with convenience targets and libraries 2012-01-31 05:27:54 +00:00
Alex Cunningham d8de7ce62c base works 2012-01-31 05:27:50 +00:00
Alex Cunningham 64c49bc431 trying a simpler build script approach 2012-01-31 05:18:53 +00:00
Alex Cunningham 17bf0f0169 Added static and shared versions of gtsam 2011-12-15 16:17:58 +00:00
Alex Cunningham 3afc03cf04 Moved installation of 3rdparty headers into separate cmake file, install some wrap components 2011-12-14 02:24:25 +00:00
Alex Cunningham 5dd461c5b1 Added make check equivalent 2011-12-14 02:24:23 +00:00
Alex Cunningham 61d05813ff Library now builds and all tests run with cmake 2011-12-14 02:24:21 +00:00
Alex Cunningham 099ab88b5d Added more cmake functionality 2011-12-14 02:24:19 +00:00
Alex Cunningham df0751ac56 Started adding cmake support 2011-12-14 02:24:18 +00:00
Alex Cunningham d35eb581ee Removed experimental cmake files - see the branch cmake_build 2011-05-19 19:16:03 +00:00
Yong-Dian Jian 85ff7853eb experimental cmake support for linux 2011-05-09 16:53:08 +00:00