doxygen doc for crlcore ...
This commit is contained in:
parent
ce19e896aa
commit
71aae62f39
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.4.0)
|
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/")
|
list(INSERT CMAKE_MODULE_PATH 0 "$ENV{BOOTSTRAP_TOP}/share/cmake/Modules/")
|
||||||
find_package(Bootstrap REQUIRED)
|
find_package(Bootstrap REQUIRED)
|
||||||
setup_project_paths(VLSISAPD)
|
setup_project_paths(VLSISAPD)
|
||||||
|
@ -33,6 +35,11 @@
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(etc)
|
add_subdirectory(etc)
|
||||||
add_subdirectory(cmake_modules)
|
add_subdirectory(cmake_modules)
|
||||||
|
|
||||||
|
if(BUILD_DOC)
|
||||||
|
FIND_PACKAGE(Doxygen)
|
||||||
|
endif(BUILD_DOC)
|
||||||
|
|
||||||
if(BUILD_DOC)
|
if(BUILD_DOC)
|
||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
endif(BUILD_DOC)
|
endif(BUILD_DOC)
|
||||||
|
|
|
@ -21,3 +21,7 @@
|
||||||
${output_dir}/README.pdf
|
${output_dir}/README.pdf
|
||||||
DESTINATION ${latexInstallDir} )
|
DESTINATION ${latexInstallDir} )
|
||||||
install ( DIRECTORY ${output_dir}/README DESTINATION ${htmlInstallDir} )
|
install ( DIRECTORY ${output_dir}/README DESTINATION ${htmlInstallDir} )
|
||||||
|
|
||||||
|
IF(DOXYGEN_FOUND)
|
||||||
|
add_subdirectory(doxygen)
|
||||||
|
ENDIF(DOXYGEN_FOUND)
|
||||||
|
|
Loading…
Reference in New Issue