Commit 087d5268 authored by Guillaume Pasero's avatar Guillaume Pasero

DOC: automatic use of OTB version

parent 8415a277
......@@ -52,6 +52,7 @@ IF( NOT OTB_SOURCE_DIR )
MESSAGE(FATAL_ERROR "OTB source directory is not set. Please add OTB_SOURCE_DIR to your cmake cache.")
ENDIF( NOT OTB_SOURCE_DIR )
set(OTB_VERSION_STRING_FULL "${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.${OTB_VERSION_PATCH}")
#OPTION(GENERATE_MONTEVERDI_DOC "Generate Monteverdi user guide as well" OFF)
......
......@@ -330,7 +330,7 @@ OTB's version numbers have 3 digits. The first one is for major
versions, the second one is for minor versions and the last one is for
bugfixes.
The first version was 1.0.0 in July 2006.The current one is 5.5.0.
The first version was 1.0.0 in July 2006.The current one is \otbversion.
\subsubsection{What is a major version?}
A major version of the library implies the addition of high-level
......
......@@ -44,7 +44,7 @@
\title{ORFEO Toolbox (OTB) Frequently Asked Questions (FAQ).\\ Updated
for OTB-5.5.0}
for OTB-\otbversion}
\author{OTB Development Team}
......
......@@ -133,7 +133,7 @@ colorlinks,linkcolor={blue},citecolor={blue},urlcolor={blue},
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{The ORFEO Tool Box Software Guide\\ Updated
for OTB-5.5.0}
for OTB-\otbversion}
\author{OTB Development Team}
......
......@@ -21,3 +21,5 @@
% Define command for the standard comment introducing classes with similar functionalities
\newcommand{\relatedClasses}{
\textbf{The following classes provide similar functionality:}}
\newcommand{\otbversion}{@OTB_VERSION_STRING_FULL@}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment