\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\)
build_type_xam.py#
View page sourcePython: CppAD Py build_type: Example and Test#
def build_type_xam() :
import cppad_py
#
# build_type
build_type = cppad_py.build_type()
#
# ok
ok = build_type in [ 'debug', 'release' ]
#
return ok
#