Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Cabieces
otb
Commits
9903875a
Commit
9903875a
authored
8 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
PKG: custom target to check build before starting packaging
parent
6222c669
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SuperBuild/Packaging/PMacros.cmake
+4
-4
4 additions, 4 deletions
SuperBuild/Packaging/PMacros.cmake
with
4 additions
and
4 deletions
SuperBuild/Packaging/PMacros.cmake
+
4
−
4
View file @
9903875a
...
...
@@ -40,16 +40,16 @@ endmacro()
macro
(
macro_update_dependencies_list list_variable
)
if
(
WIN32 OR CMAKE_CROSSCOMPILING
)
add_custom_target
(
PACKAGE-
check
)
add_custom_target
(
PACKAGE-
CHECK
)
else
()
#Unxies Using SuperBuild
if
(
ENABLE_MONTEVERDI
)
add_custom_target
(
PACKAGE-
check
add_custom_target
(
PACKAGE-
CHECK
COMMAND
${
CMAKE_COMMAND
}
--build
"
${
SUPERBUILD_BINARY_DIR
}
/MVD/build"
WORKING_DIRECTORY
"
${
SUPERBUILD_BINARY_DIR
}
/MVD/build"
)
else
()
add_custom_target
(
PACKAGE-
check
add_custom_target
(
PACKAGE-
CHECK
COMMAND
${
CMAKE_COMMAND
}
--build
"
${
SUPERBUILD_BINARY_DIR
}
/OTB/build"
WORKING_DIRECTORY
"
${
SUPERBUILD_BINARY_DIR
}
/OTB/build"
DEPENDS REMAKE
...
...
@@ -57,7 +57,7 @@ macro(macro_update_dependencies_list list_variable)
endif
(
ENABLE_MONTEVERDI
)
endif
()
list
(
APPEND
${
list_variable
}
PACKAGE-
check
)
list
(
APPEND
${
list_variable
}
PACKAGE-
CHECK
)
endmacro
()
macro
(
macro_create_targets_for_package pkg
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment