1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Add UseDoxygen to cmake

Allow use of cmake . && make doc
Requires UseDoxygen.cmake from http://tobias.rautenkranz.ch/cmake/doxygen/
This commit is contained in:
Sandy Carter 2015-08-22 12:49:27 -04:00
parent 371e4b8714
commit 1b3c3ee9ca
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -28,3 +28,5 @@ ui_*.h
/CPackSourceConfig.cmake
build-*
CMakeLists.txt.user.*
Doxyfile
doc/*

View File

@ -22,6 +22,12 @@ option(ENABLE_LAUNCHER "Enable compilation of launcher" ON)
option(ENABLE_TEST "Enable compilation of unit tests" OFF)
option(ENABLE_PCH "Enable compilation using precompiled headers" ON)
############################################
# Documentation section #
############################################
include(UseDoxygen OPTIONAL)
############################################
# Building section #
############################################