diff options
author | Slávek Banko <[email protected]> | 2016-03-14 23:17:38 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-14 23:17:50 +0100 |
commit | b7749d5478f1c25de5861eaa17b17e514f3bbd09 (patch) | |
tree | a801a2ed5c3d556573e99964266e0ac03a3ff5a6 | |
parent | 018ba1b32282143bba449de3f3b50c0c73f5a49d (diff) | |
download | tdegames-b7749d5478f1c25de5861eaa17b17e514f3bbd09.tar.gz tdegames-b7749d5478f1c25de5861eaa17b17e514f3bbd09.zip |
cmake: Add apidox targets
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit c59e27cbbfb31dab708cca1c01fa31cad8ab5c26)
-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 ) |