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
Container Registry
Model registry
Operate
Environments
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
Antoine Belvire
otb
Commits
360498b8
Commit
360498b8
authored
9 years ago
by
Stéphane Albert
Browse files
Options
Downloads
Patches
Plain Diff
COMP: Added mapla to windows platform installer scripts.
parent
bf0e3a24
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Packaging/Windows/BundleFixing.cmake.in
+1
-0
1 addition, 0 deletions
Packaging/Windows/BundleFixing.cmake.in
Packaging/Windows/CMakeLists.txt
+17
-0
17 additions, 0 deletions
Packaging/Windows/CMakeLists.txt
Packaging/Windows/mapla.bat
+16
-0
16 additions, 0 deletions
Packaging/Windows/mapla.bat
with
34 additions
and
0 deletions
Packaging/Windows/BundleFixing.cmake.in
+
1
−
0
View file @
360498b8
...
@@ -7,3 +7,4 @@ endforeach(APP)
...
@@ -7,3 +7,4 @@ endforeach(APP)
include(BundleUtilities)
include(BundleUtilities)
fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/monteverdi2.exe" "${OTB_APPS_LIST_INSTALL}" "")
fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/monteverdi2.exe" "${OTB_APPS_LIST_INSTALL}" "")
fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/mv2.exe" "${OTB_APPS_LIST_INSTALL}" "")
fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/mv2.exe" "${OTB_APPS_LIST_INSTALL}" "")
fixup_bundle("${CMAKE_INSTALL_PREFIX}/bin/mapla.exe" "${OTB_APPS_LIST_INSTALL}" "")
This diff is collapsed.
Click to expand it.
Packaging/Windows/CMakeLists.txt
+
17
−
0
View file @
360498b8
...
@@ -22,6 +22,19 @@ set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS
...
@@ -22,6 +22,19 @@ set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS
"
"
PARENT_SCOPE
)
PARENT_SCOPE
)
# StartMenu entries for Mapla.
set
(
CPACK_NSIS_EXTRA_INSTALL_COMMANDS
"
CreateShortCut
\\\"
$SMPROGRAMS
\\\\
Monteverdi2-
${
Monteverdi2_VERSION_MAJOR
}
.
${
Monteverdi2_VERSION_MINOR
}
\\\\
Mapla.lnk
\\\"
\\\"
$INSTDIR
\\\\
bin
\\\\
mapla.bat
\\\"
\\\"
\\\"
\\\"
$INSTDIR
\\\\
bin
\\\\
mapla.exe
\\\"
"
PARENT_SCOPE
)
set
(
CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS
"
Delete
\\\"
$SMPROGRAMS
\\\\
Monteverdi2-
${
Monteverdi2_VERSION_MAJOR
}
.
${
Monteverdi2_VERSION_MINOR
}
\\\\
Mapla.lnk
\\\"
"
PARENT_SCOPE
)
# StartMenu entries for Mv2.
# StartMenu entries for Mv2.
set
(
CPACK_NSIS_EXTRA_INSTALL_COMMANDS
set
(
CPACK_NSIS_EXTRA_INSTALL_COMMANDS
"
"
...
@@ -144,6 +157,10 @@ install(FILES ${Monteverdi2_SOURCE_DIR}/Packaging/Windows/monteverdi2.bat
...
@@ -144,6 +157,10 @@ install(FILES ${Monteverdi2_SOURCE_DIR}/Packaging/Windows/monteverdi2.bat
DESTINATION bin
DESTINATION bin
COMPONENT Runtime
)
COMPONENT Runtime
)
install
(
FILES
${
Monteverdi2_SOURCE_DIR
}
/Packaging/Windows/mapla.bat
DESTINATION bin
COMPONENT Runtime
)
install
(
FILES
${
Monteverdi2_SOURCE_DIR
}
/Packaging/Windows/mv2.bat
install
(
FILES
${
Monteverdi2_SOURCE_DIR
}
/Packaging/Windows/mv2.bat
DESTINATION bin
DESTINATION bin
COMPONENT Runtime
)
COMPONENT Runtime
)
This diff is collapsed.
Click to expand it.
Packaging/Windows/mapla.bat
0 → 100644
+
16
−
0
View file @
360498b8
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Monteverdi launcher to set up proper GDAL environment
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Get the directory of the current script
@set
CURRENT_SCRIPT_DIR
=
%~dp0
:: Set GDAL_DATA env. variable
@set
GDAL_DATA
=
%CURRENT_SCRIPT_DIR%
..\share\gdal
@set
ITK_AUTOLOAD_PATH
=
%CURRENT_SCRIPT_DIR%
..\lib\otb\applications
:: Set current dir to HOME dir because Monteverdi generates temporary files and need write access
@cd
%HOMEDRIVE%%
HOMEPATH
%
:: Start Monteverdi
@start
"Monteverdi2 Application Launcher"
/B
"
%CURRENT_SCRIPT_DIR%
mapla.exe"
%
*
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