Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
0e5993b5
Commit
0e5993b5
authored
Sep 24, 2018
by
Victor Poughon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: cookbook build depends on all apps
parent
473bb594
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Documentation/Cookbook/CMakeLists.txt
Documentation/Cookbook/CMakeLists.txt
+9
-1
No files found.
Documentation/Cookbook/CMakeLists.txt
View file @
0e5993b5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment