File tree 2 files changed +4
-4
lines changed
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 )
169
169
message ( STATUS "Running FORD to dynamically compute documentation outputs, this could take a while..." )
170
170
execute_process ( COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOC_DIR}
171
171
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 )
173
173
else ()
174
174
message ( STATUS "Re-using cached FORD outputs, rather than regenerating them" )
175
175
endif ()
@@ -190,7 +190,7 @@ if ( NOT SKIP_DOC_GEN )
190
190
list ( APPEND FORD_DEPENDS "${DOC_SRC_FILE} " )
191
191
endforeach ()
192
192
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} "
194
194
MAIN_DEPENDENCY "${FORD_PROJECT_FILE} "
195
195
DEPENDS ${FORD_DEPENDS}
196
196
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 ""
343
343
if [[ $JF_SKIP_DOCS != [yY]* ]]; then
344
344
if hash ford 2> /dev/null; then
345
345
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 "
348
348
else
349
349
echo " FORD not found! Install using: sudo pip install ford"
350
350
fi
You can’t perform that action at this time.
0 commit comments