CMake: QtDocsHelpers: Rename generate_qdocs_args variable
To be consistent with prepare_qdoc_args. Pick-to: 6.2 Change-Id: Ibd40d6c26f6f6fa49ea78b6476f396153b7c4ee5 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
f6bb68c548
commit
51becc4c66
@ -138,7 +138,7 @@ function(qt_internal_add_docs)
|
|||||||
add_dependencies(prepare_docs_${target} qattributionsscanner_${target})
|
add_dependencies(prepare_docs_${target} qattributionsscanner_${target})
|
||||||
|
|
||||||
# generate docs target
|
# generate docs target
|
||||||
set(generate_qdocs_args
|
set(generate_qdoc_args
|
||||||
-outputdir "${qdoc_output_dir}"
|
-outputdir "${qdoc_output_dir}"
|
||||||
"${target_source_dir}/${doc_project}"
|
"${target_source_dir}/${doc_project}"
|
||||||
-generate
|
-generate
|
||||||
@ -158,7 +158,7 @@ function(qt_internal_add_docs)
|
|||||||
endif()
|
endif()
|
||||||
add_custom_target(${target_prefix}_${target}
|
add_custom_target(${target_prefix}_${target}
|
||||||
${depends_arg}
|
${depends_arg}
|
||||||
COMMAND ${CMAKE_COMMAND} -E env ${qdoc_env_args} ${qdoc_bin} ${generate_qdocs_args})
|
COMMAND ${CMAKE_COMMAND} -E env ${qdoc_env_args} ${qdoc_bin} ${generate_qdoc_args})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_dependencies(generate_docs_${target} prepare_docs_${target})
|
add_dependencies(generate_docs_${target} prepare_docs_${target})
|
||||||
|
Loading…
Reference in New Issue
Block a user