Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
213
Issues
213
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
ac17445c
Commit
ac17445c
authored
Jul 20, 2016
by
Guillaume Pasero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DOC: fill and install a VERSION file
parent
43c7a996
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
VERSION
VERSION
+3
-0
No files found.
CMakeLists.txt
View file @
ac17445c
...
...
@@ -91,6 +91,8 @@ set(OTB_VERSION_MINOR "6")
set
(
OTB_VERSION_PATCH
"0"
)
set
(
OTB_VERSION_STRING
"
${
OTB_VERSION_MAJOR
}
.
${
OTB_VERSION_MINOR
}
.
${
OTB_VERSION_PATCH
}
"
)
string
(
TIMESTAMP OTB_BUILD_TIMESTAMP
)
if
(
NOT OTB_INSTALL_RUNTIME_DIR
)
set
(
OTB_INSTALL_RUNTIME_DIR bin
)
endif
()
...
...
@@ -337,6 +339,10 @@ install(FILES ${OTB_FIND_PACKAGE_SCRIPTS} DESTINATION ${OTB_INSTALL_PACKAGE_DIR}
# install(FILES "LICENSE" "NOTICE" "README.txt" DESTINATION ${OTB_INSTALL_DOC_DIR} COMPONENT Runtime)
install
(
FILES
"LICENSE"
DESTINATION
${
OTB_INSTALL_DOC_DIR
}
COMPONENT Runtime
)
# Configure and install VERSION file
configure_file
(
VERSION VERSION @ONLY
)
install
(
FILES
${
OTB_BINARY_DIR
}
/VERSION DESTINATION
${
OTB_INSTALL_DOC_DIR
}
COMPONENT Runtime
)
if
(
BUILD_TESTING
)
add_subdirectory
(
Utilities/InstallTest
)
endif
()
...
...
VERSION
0 → 100644
View file @
ac17445c
OTB Version: @OTB_VERSION_STRING@
Build Date: @OTB_BUILD_TIMESTAMP@
@OTB_GIT_STATUS_MESSAGE@
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