Prev Next run_cmake.sh

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
Get Cppad and Configure Cppad Swig for A system

Syntax
bin/run_cmake.sh

Source Directory
This program must be run from the source directory .

System Settings
Before running bin/run_cmake.sh, the user should check and possibly change the following settings:
cmake_binary_dir='build'
cmake_generator='Unix Makefiles'
cmake_verbose_makefile='false'
cmake_build_type='debug'
swig_cxx_flags='-Wno-sign-compare -Wno-catch-value -Wno-class-memaccess'
cppad_cxx_flags='-Wall -pedantic-errors'
test_cppad='no'
each of these settings is described below:

cmake_binary_dir
This is the sub-directory where object libraries and executables are built. It is also the directory where make commands are executed.

cmake_generator
This determines the type of make files that will be generated by cmake; see cmake-generators .

cmake_verbose_makefile
This is either true or false. If it is true, many of the compiler and Swig options used to build the system are output during the make commands. If it is false, the output during the make commands just describes whats is being done without so much detail.

cmake_build_type
This is either debug, release, RelWithDebInfo or MinSizeRel; see cmake_build_type .

swig_cxx_flags
Extra C++ compiler flags used when compiling code that is created by Swig.

cppad_cxx_flags
Extra C++ compiler flags used when compiling code that includes Cppad header files.

test_cppad
If this is yes, Cppad will build and run it's separate check system each time bin/run_cmake.sh is run. If you have any problems, it may help to isolate the problem by changing this setting to yes.
Input File: bin/run_cmake.sh