git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6844d8e
)
Build documentation optionally
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 17 Oct 2011 08:36:19 +0000 (10:36 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 17 Oct 2011 08:36:19 +0000 (10:36 +0200)
CMakeLists.txt
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c790769
..
ec8d488
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-56,8
+56,9
@@
set(CPACK_SOURCE_IGNORE_FILES
set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME})
# documentation
+option(DOCUMENTATION "Generate API documentation with Doxygen" ON)
find_package(Doxygen)
-if(DOXYGEN_FOUND)
+if(DOCUMENTATION AND DOXYGEN_FOUND)
# Set variables
set(PACKAGE libi2ncommon)
set(top_srcdir ${CMAKE_SOURCE_DIR})