File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ if ( NOT SKIP_DOC_GEN )
169169 message ( STATUS "Running FORD to dynamically compute documentation outputs, this could take a while..." )
170170 execute_process ( COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOC_DIR}
171171 COMMAND ${CMAKE_COMMAND} -E make_directory ${DOC_DIR}
172- COMMAND "${FORD} " -q ${MACRO_FLAG} -d "${PROJ_DIR} " -o "${DOC_DIR} " -p "${PAGE_DIR} " "${FORD_PROJECT_FILE} " OUTPUT_QUIET )
172+ COMMAND "${FORD} " --debug - q ${MACRO_FLAG} -d "${PROJ_DIR} " -o "${DOC_DIR} " -p "${PAGE_DIR} " "${FORD_PROJECT_FILE} " OUTPUT_QUIET )
173173 else ()
174174 message ( STATUS "Re-using cached FORD outputs, rather than regenerating them" )
175175 endif ()
@@ -190,7 +190,7 @@ if ( NOT SKIP_DOC_GEN )
190190 list ( APPEND FORD_DEPENDS "${DOC_SRC_FILE} " )
191191 endforeach ()
192192 add_custom_command ( OUTPUT ${FORD_OUTPUTS_CACHED}
193- COMMAND "${FORD} " ${MACRO_FLAG} -d "${PROJ_DIR} " -o "${DOC_DIR} " -p "${CMAKE_SOURCE_DIR} /pages" "${FORD_PROJECT_FILE} "
193+ COMMAND "${FORD} " --debug ${MACRO_FLAG} -d "${PROJ_DIR} " -o "${DOC_DIR} " -p "${CMAKE_SOURCE_DIR} /pages" "${FORD_PROJECT_FILE} "
194194 MAIN_DEPENDENCY "${FORD_PROJECT_FILE} "
195195 DEPENDS ${FORD_DEPENDS}
196196 COMMENT "Building HTML documentation for ${CMAKE_PROJECT_NAME} using FORD" )
Original file line number Diff line number Diff line change @@ -343,8 +343,8 @@ echo ""
343343if [[ $JF_SKIP_DOCS != [yY]* ]]; then
344344 if hash ford 2> /dev/null; then
345345 echo " Building documentation..."
346- [[ $TRY_UNICODE = [yY]* ]] && MACRO_FLAG=" -m USE_UCS4"
347- ford $ MACRO_FLAG -p $PAGESDIR $FORDMD
346+ [[ $TRY_UNICODE = [yY]* ]] && MACRO_FLAG=( " -m" " USE_UCS4" )
347+ ford --debug " ${ MACRO_FLAG[@]} " -p " $PAGESDIR " " $FORDMD "
348348 else
349349 echo " FORD not found! Install using: sudo pip install ford"
350350 fi
You can’t perform that action at this time.
0 commit comments