Revision: 9450 https://osdn.net/projects/ttssh2/scm/svn/commits/9450 Author: zmatsuo Date: 2021-09-24 00:54:06 +0900 (Fri, 24 Sep 2021) Log Message: ----------- IDEから gobal,doxygen プロジェクトをビルドできなかった - IDEからドキュメントが作れなかった - カレントディレクトリが移動していてもビルドできるようにした Modified Paths: -------------- trunk/doc_internal/CMakeLists.txt trunk/doc_internal/global.cmake -------------- next part -------------- Modified: trunk/doc_internal/CMakeLists.txt =================================================================== --- trunk/doc_internal/CMakeLists.txt 2021-09-23 15:53:55 UTC (rev 9449) +++ trunk/doc_internal/CMakeLists.txt 2021-09-23 15:54:06 UTC (rev 9450) @@ -6,7 +6,8 @@ else() add_custom_target( doxygen - COMMAND ${CMAKE_COMMAND} -P doxygen.cmake + COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_LIST_DIR}/doxygen.cmake + WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} ) set_target_properties( @@ -25,7 +26,8 @@ else() add_custom_target( global - COMMAND ${CMAKE_COMMAND} -P global.cmake + COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_LIST_DIR}/global.cmake + WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} ) set_target_properties( Modified: trunk/doc_internal/global.cmake =================================================================== --- trunk/doc_internal/global.cmake 2021-09-23 15:53:55 UTC (rev 9449) +++ trunk/doc_internal/global.cmake 2021-09-23 15:54:06 UTC (rev 9450) @@ -1,7 +1,4 @@ -find_program(HTAGS htags) -message("HTAGS=${HTAGS}") - file(REMOVE_RECURSE global) execute_process( @@ -9,6 +6,9 @@ WORKING_DIRECTORY ".." ) +find_program(HTAGS htags) +message("HTAGS=${HTAGS}") + execute_process( COMMAND ${HTAGS} -ans --tabs 4 -F WORKING_DIRECTORY ".."