Optionally build the documentation when building unit tests.

This commit is contained in:
Christoph Hertzberg 2015-03-27 16:41:28 +01:00
parent 1b64edbfd4
commit 8fa951e31d

View File

@ -283,3 +283,9 @@ mark_as_advanced(EIGEN_TEST_EIGEN2)
if(EIGEN_TEST_EIGEN2)
add_subdirectory(eigen2)
endif()
option(EIGEN_TEST_BUILD_DOCUMENTATION "Test building the doxygen documentation" OFF)
IF(EIGEN_TEST_BUILD_DOCUMENTATION)
add_dependencies(buildtests doc)
ENDIF()