Skip to content
Snippets Groups Projects
Commit 0e5993b5 authored by Victor Poughon's avatar Victor Poughon
Browse files

ENH: cookbook build depends on all apps

parent 473bb594
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment