diff --git a/.cproject b/.cproject
index b31515394..c18c63f56 100644
--- a/.cproject
+++ b/.cproject
@@ -282,6 +282,7 @@
+
@@ -308,14 +309,6 @@
true
true
-
- make
- -j2
- testGaussianFactor.run
- true
- true
- true
-
make
-j2
@@ -342,6 +335,7 @@
make
+
tests/testBayesTree.run
true
false
@@ -349,6 +343,7 @@
make
+
testBinaryBayesNet.run
true
false
@@ -396,6 +391,7 @@
make
+
testSymbolicBayesNet.run
true
false
@@ -403,6 +399,7 @@
make
+
tests/testSymbolicFactor.run
true
false
@@ -410,6 +407,7 @@
make
+
testSymbolicFactorGraph.run
true
false
@@ -425,11 +423,20 @@
make
+
tests/testBayesTree
true
false
true
+
+ make
+ -j2
+ testGaussianFactor.run
+ true
+ true
+ true
+
make
-j5
@@ -518,22 +525,6 @@
false
true
-
- make
- -j2
- all
- true
- true
- true
-
-
- make
- -j2
- clean
- true
- true
- true
-
make
-j2
@@ -550,6 +541,22 @@
true
true
+
+ make
+ -j2
+ all
+ true
+ true
+ true
+
+
+ make
+ -j2
+ clean
+ true
+ true
+ true
+
make
-j2
@@ -574,26 +581,26 @@
true
true
-
+
make
- -j5
- testValues.run
+ -j2
+ all
true
true
true
-
+
make
- -j5
- testOrdering.run
+ -j2
+ check
true
true
true
-
+
make
- -j5
- testKey.run
+ -j2
+ clean
true
true
true
@@ -678,26 +685,26 @@
true
true
-
+
make
- -j2
- all
+ -j5
+ testValues.run
true
true
true
-
+
make
- -j2
- check
+ -j5
+ testOrdering.run
true
true
true
-
+
make
- -j2
- clean
+ -j5
+ testKey.run
true
true
true
@@ -952,6 +959,7 @@
make
+
testGraph.run
true
false
@@ -959,6 +967,7 @@
make
+
testJunctionTree.run
true
false
@@ -966,6 +975,7 @@
make
+
testSymbolicBayesNetB.run
true
false
@@ -1101,6 +1111,7 @@
make
+
testErrors.run
true
false
@@ -1564,7 +1575,6 @@
make
-
testSimulated2DOriented.run
true
false
@@ -1604,7 +1614,6 @@
make
-
testSimulated2D.run
true
false
@@ -1612,7 +1621,6 @@
make
-
testSimulated3D.run
true
false
@@ -1828,7 +1836,6 @@
make
-
tests/testGaussianISAM2
true
false
@@ -1850,102 +1857,6 @@
true
true
-
- make
- -j2
- testRot3.run
- true
- true
- true
-
-
- make
- -j2
- testRot2.run
- true
- true
- true
-
-
- make
- -j2
- testPose3.run
- true
- true
- true
-
-
- make
- -j2
- timeRot3.run
- true
- true
- true
-
-
- make
- -j2
- testPose2.run
- true
- true
- true
-
-
- make
- -j2
- testCal3_S2.run
- true
- true
- true
-
-
- make
- -j2
- testSimpleCamera.run
- true
- true
- true
-
-
- make
- -j2
- testHomography2.run
- true
- true
- true
-
-
- make
- -j2
- testCalibratedCamera.run
- true
- true
- true
-
-
- make
- -j2
- check
- true
- true
- true
-
-
- make
- -j2
- clean
- true
- true
- true
-
-
- make
- -j2
- testPoint2.run
- true
- true
- true
-
make
-j2
@@ -2147,6 +2058,7 @@
cpack
+
-G DEB
true
false
@@ -2154,6 +2066,7 @@
cpack
+
-G RPM
true
false
@@ -2161,6 +2074,7 @@
cpack
+
-G TGZ
true
false
@@ -2168,6 +2082,7 @@
cpack
+
--config CPackSourceConfig.cmake
true
false
@@ -2293,34 +2208,106 @@
true
true
-
+
make
-j5
- testSpirit.run
+ doc
true
true
true
-
+
make
- -j5
- testWrap.run
+ -j2
+ testRot3.run
true
true
true
-
+
make
- -j5
- check.wrap
+ -j2
+ testRot2.run
true
true
true
-
+
make
- -j5
- wrap
+ -j2
+ testPose3.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ timeRot3.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ testPose2.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ testCal3_S2.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ testSimpleCamera.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ testHomography2.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ testCalibratedCamera.run
+ true
+ true
+ true
+
+
+ make
+ -j2
+ check
+ true
+ true
+ true
+
+
+ make
+ -j2
+ clean
+ true
+ true
+ true
+
+
+ make
+ -j2
+ testPoint2.run
true
true
true
@@ -2364,7 +2351,38 @@
false
true
+
+ make
+ -j5
+ testSpirit.run
+ true
+ true
+ true
+
+
+ make
+ -j5
+ testWrap.run
+ true
+ true
+ true
+
+
+ make
+ -j5
+ check.wrap
+ true
+ true
+ true
+
+
+ make
+ -j5
+ wrap
+ true
+ true
+ true
+
-
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7b7cf9b6..f87dff186 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.6)
# Set the version number for the library
set (GTSAM_VERSION_MAJOR 2)
-set (GTSAM_VERSION_MINOR 0)
+set (GTSAM_VERSION_MINOR 1)
set (GTSAM_VERSION_PATCH 0)
# Set the default install path to home
@@ -41,6 +41,7 @@ endif()
option(GTSAM_BUILD_TESTS "Enable/Disable building of tests" ON)
option(GTSAM_BUILD_TIMING "Enable/Disable building of timing scripts" ON)
option(GTSAM_BUILD_EXAMPLES "Enable/Disable building of examples" ON)
+option(GTSAM_BUILD_DOCS "Enable/Disable building of doxygen docs" OFF)
if(GTSAM_UNSTABLE_AVAILABLE)
option(GTSAM_BUILD_UNSTABLE "Enable/Disable libgtsam_unstable" ON)
endif()
@@ -154,6 +155,19 @@ endif(GTSAM_BUILD_UNSTABLE)
GtsamMakeConfigFile(GTSAM)
export(TARGETS ${GTSAM_EXPORTED_TARGETS} FILE GTSAM-exports.cmake)
+# add a target to generate API documentation with Doxygen
+if (GTSAM_BUILD_DOCS)
+ find_package(Doxygen)
+ if(DOXYGEN_FOUND)
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doc/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
+ add_custom_target(doc
+ ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doc
+ COMMENT "Generating API documentation with Doxygen" VERBATIM
+ )
+ endif(DOXYGEN_FOUND)
+endif (GTSAM_BUILD_DOCS)
+
# Set up CPack
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "GTSAM")
set(CPACK_PACKAGE_VENDOR "Frank Dellaert, Georgia Institute of Technology")
@@ -177,6 +191,7 @@ message(STATUS "Build flags ")
print_config_flag(${GTSAM_BUILD_TIMING} "Build Timing scripts ")
print_config_flag(${GTSAM_BUILD_EXAMPLES} "Build Examples ")
print_config_flag(${GTSAM_BUILD_TESTS} "Build Tests ")
+print_config_flag(${GTSAM_BUILD_DOCS} "Build Docs ")
if(NOT MSVC)
print_config_flag(${GTSAM_BUILD_SHARED_LIBRARY} "Build shared GTSAM Library ")
print_config_flag(${GTSAM_BUILD_STATIC_LIBRARY} "Build static GTSAM Library ")
diff --git a/doc/Doxyfile b/doc/Doxyfile.in
similarity index 98%
rename from doc/Doxyfile
rename to doc/Doxyfile.in
index 16940c2bd..1c767e584 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile.in
@@ -32,7 +32,7 @@ PROJECT_NAME = gtsam
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 2.0.0
+PROJECT_NUMBER = @GTSAM_VERSION_MAJOR@.@GTSAM_VERSION_MINOR@.@GTSAM_VERSION_PATCH@
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer
@@ -638,19 +638,19 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = ../gtsam/base \
- ../gtsam/geometry \
- ../gtsam/inference \
- ../gtsam/discrete \
- ../gtsam/linear \
- ../gtsam/nonlinear \
- ../gtsam
-# ../gtsam/slam \
-# ../gtsam_unstable/slam \
-# ../gtsam_unstable/base \
-# ../gtsam_unstable/geometry \
-# ../gtsam_unstable/dynamics \
-# ../gtsam_unstable
+INPUT = @PROJECT_SOURCE_DIR@/gtsam/base \
+ @PROJECT_SOURCE_DIR@/gtsam/geometry \
+ @PROJECT_SOURCE_DIR@/gtsam/inference \
+ @PROJECT_SOURCE_DIR@/gtsam/discrete \
+ @PROJECT_SOURCE_DIR@/gtsam/linear \
+ @PROJECT_SOURCE_DIR@/gtsam/nonlinear \
+ @PROJECT_SOURCE_DIR@/gtsam
+# @PROJECT_SOURCE_DIR@/gtsam/slam \
+# @PROJECT_SOURCE_DIR@/gtsam_unstable/slam \
+# @PROJECT_SOURCE_DIR@/gtsam_unstable/base \
+# @PROJECT_SOURCE_DIR@/gtsam_unstable/geometry \
+# @PROJECT_SOURCE_DIR@/gtsam_unstable/dynamics \
+# @PROJECT_SOURCE_DIR@/gtsam_unstable
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is