Prev | Next | download |
include/cppad/cppad.hpp
.
version
number has the following fields:
yyyy
is four decimal digits denoting a year,
mm
is two decimal digits denoting a month,
and
dd
is two decimal digits denoting a day.
For example
version = 20160101
corresponds to January 1, 2016.
dd
equal to zero.
These version numbers are combined with release numbers denoted by
rel
.
Higher release numbers correspond to more bug fixes.
For example
version.rel = 20160000.0
corresponds to the first release
of the version for 2016,
20160000.1
corresponds to the first bug fix for 2016.
The compressed archive names on the github
releases
page
are named
version.rel.tar.gz
.
Before 2019,
these archives correspond to the Eclipse Public License Version 1
license and do not include the documentation.
Starting in 2019,
these archives correspond to the EPL 2.0 or (GPL 2.0 or later) license and
a separate compressed archive is available
on the releases page with name
version.doc.tar.gz
.
git
You can a git clone of the current version using the command
git clone https://github.com/coin-or/CppAD.git cppad.git
This procedure requires that
the git
is installed on your system.
grep '^SET(cppad_version' CMakeLists.txt
Use the following command to determine the git
hash
code
corresponding to this version:
git show-ref | grep 'refs/heads/master'
You can get an old version using the command
git checkout -q hash
You can check the corresponding version number using the command
grep '^SET(cppad_version' CMakeLists.txt
bin/package.sh
.
These archives have the documentation in the doc
directory
and do not have the git
information.
They are intended for re-distribution.
git checkout gh-pages
git log > junk.log
The file junk.log
will contain the git
hash
codes
for different version of the documentation along with the date.
Select the
hash
for the version you are using, execute the command
git checkout hash
You can then view documentation for version you are using by opening the file
doc/index.html
in a web browser.
omhelp
command so that
which omhelp
shows it is in your path.
Once you have done this,
in the distribution directory execute the following command:
bin/run_omhelp.sh htm
You can then view documentation for version you are using by opening the file
doc/index.html
in a web browser.