doxygen doc for crlcore ...

This commit is contained in:
Jean-Manuel Caba 2010-08-13 02:01:18 +00:00
parent ce19e896aa
commit 71aae62f39
2 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,8 @@
cmake_minimum_required(VERSION 2.4.0)
OPTION(BUILD_DOC "Build the documentation (latex+doxygen)" OFF)
list(INSERT CMAKE_MODULE_PATH 0 "$ENV{BOOTSTRAP_TOP}/share/cmake/Modules/")
find_package(Bootstrap REQUIRED)
setup_project_paths(VLSISAPD)
@ -33,6 +35,11 @@
add_subdirectory(src)
add_subdirectory(etc)
add_subdirectory(cmake_modules)
if(BUILD_DOC)
FIND_PACKAGE(Doxygen)
endif(BUILD_DOC)
if(BUILD_DOC)
add_subdirectory(doc)
endif(BUILD_DOC)

View File

@ -21,3 +21,7 @@
${output_dir}/README.pdf
DESTINATION ${latexInstallDir} )
install ( DIRECTORY ${output_dir}/README DESTINATION ${htmlInstallDir} )
IF(DOXYGEN_FOUND)
add_subdirectory(doxygen)
ENDIF(DOXYGEN_FOUND)