Commit 0e5993b5 authored by Victor Poughon's avatar Victor Poughon

ENH: cookbook build depends on all apps

parent 473bb594
......@@ -120,9 +120,17 @@ add_custom_target(generate_otbapps_rst
WORKING_DIRECTORY ${RST_BINARY_DIR}
COMMENT "Auto-generating Application Reference Documentation in RST"
DEPENDS OTBSWIGWrapper-all
# TODO add DEPENDS to all apps
)
# Add all applications as dependencies to rst generation
set(app_names ${OTB_APPLICATIONS_NAME_LIST})
list(REMOVE_ITEM app_names "TestApplication")
list(REMOVE_ITEM app_names "ApplicationExample")
list(REMOVE_DUPLICATES app_names)
foreach(app_name ${app_names})
add_dependencies(generate_otbapps_rst otbapp_${app_name})
endforeach()
add_custom_target(CookBookHTML
COMMAND ${SPHINX_BUILD}
-b html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment