summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-14 22:17:38 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-03-14 22:17:38 (GMT)
commitc59e27cbbfb31dab708cca1c01fa31cad8ab5c26 (patch)
tree6a48fcf3293060788db93dd7603d4a8b4121f0ee
parentd6b90e3453e8ebaa67cb450271fe154ee766557d (diff)
downloadtdegames-c59e27cb.zip
tdegames-c59e27cb.tar.gz
cmake: Add apidox targets
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26f2341..977f26c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -109,7 +109,18 @@ if( WITH_TEST )
enable_testing()
endif( WITH_TEST )
-##### tdeaddons directories #####################
+##### add apidox targets ############
+
+add_custom_target(apidox
+ COMMAND "./generate_apidox" "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${HTML_INSTALL_DIR}" "/usr/share/tqt3/doc/html"
+ WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/cmake/")
+
+add_custom_target(install-apidox
+ COMMAND "./install_apidox" "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${HTML_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}"
+ WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/cmake/")
+
+
+##### tdegames directories #####################
tde_conditional_add_subdirectory( BUILD_ATLANTIK atlantik )
tde_conditional_add_subdirectory( BUILD_DOC doc )