aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-08-24 07:25:21 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-08-24 07:25:21 +0000
commit5b83d0c092776732d60c5964876c16993a6213b6 (patch)
treec6ed5b139cca446e63cdfebc9ab4b9b6742282d0 /cmake
parent4a48389b27cafe30a38592b50e0f4b9e97b9d65e (diff)
downloadexternal_llvm-5b83d0c092776732d60c5964876c16993a6213b6.zip
external_llvm-5b83d0c092776732d60c5964876c16993a6213b6.tar.gz
external_llvm-5b83d0c092776732d60c5964876c16993a6213b6.tar.bz2
[autotools->cmake] Enable generation of doxygen documentation via cmake.
I am going to add in a subsequent patch support for generating the llvm manpage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 93046fe..681a4d6 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -460,3 +460,10 @@ if (LLVM_ENABLE_ZLIB )
endif()
set(LLVM_PREFIX ${CMAKE_INSTALL_PREFIX})
+
+if (LLVM_ENABLE_DOXYGEN)
+ message(STATUS "Doxygen enabled.")
+ find_package(Doxygen)
+else()
+ message(STATUS "Doxygen disabled.")
+endif()