Examples install now installs data for Matlab examples. Fixed typo in examples documentation

release/4.3a0
Alex Cunningham 2012-06-03 19:26:28 +00:00
parent bd7724781d
commit 720db709be
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
This directory contains a number of exapmples that illustrate the use of GTSAM:
This directory contains a number of examples that illustrate the use of GTSAM:
SimpleRotation: a super-simple example of optimizing a single rotation according to a single prior

View File

@ -72,6 +72,10 @@ if (GTSAM_INSTALL_MATLAB_TOOLBOX)
message(STATUS "Installing Matlab Toolbox Examples")
file(GLOB matlab_examples "${CMAKE_SOURCE_DIR}/examples/matlab/*.m")
install(FILES ${matlab_examples} DESTINATION ${GTSAM_TOOLBOX_INSTALL_PATH}/gtsam/examples)
message(STATUS "Installing Matlab Toolbox Examples (Data)")
file(GLOB matlab_examples_data "${CMAKE_SOURCE_DIR}/examples/Data/*.*")
install(FILES ${matlab_examples_data} DESTINATION ${GTSAM_TOOLBOX_INSTALL_PATH}/gtsam/examples/Data)
endif (GTSAM_INSTALL_MATLAB_EXAMPLES)
# Tests