get_cppadcg.sh

View page source

Download and Install CppADCodeGen in Build Directory

Syntax

bin/get_cppadcg.sh

Purpose

If you are using Unix, this command will download and install cppadcg in the CppAD build directory.

Requirements

You must first use get_eigen.sh to download and install Eigen.

Distribution Directory

This command must be executed in the Distribution Directory .

Source Directory

The Cppadcg source code is downloaded into the sub-directory external/cppadcg.git below the distribution directory.

Prefix

The prefix in the file bin/get_optional.sh is used for this install.

Git Hash

This will install the commit of Cppadcg with the following git hash

git_hash='b5307ad'

The date corresponding to this commit was 20201009.

Configuration

If the file

external/cppadcg- git_hash . configured

exists, the configuration will be skipped. Delete this file if you want to re-run the configuration.

Documentation

If you change the setting for CREATE_DOXYGEN_DOC to ON , the doxygen documentation for CppADCodeGen will be installed in the directory

prefix / share/doc/cppadcg/html

where prefix has the value specified in the get_optional.sh file.