diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-03-14 23:17:38 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-14 23:17:38 +0100 |
commit | c59e27cbbfb31dab708cca1c01fa31cad8ab5c26 (patch) | |
tree | 6a48fcf3293060788db93dd7603d4a8b4121f0ee | |
parent | d6b90e3453e8ebaa67cb450271fe154ee766557d (diff) | |
download | tdegames-c59e27cbbfb31dab708cca1c01fa31cad8ab5c26.tar.gz tdegames-c59e27cbbfb31dab708cca1c01fa31cad8ab5c26.zip |
cmake: Add apidox targets
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 26f2341b..977f26c1 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 ) |