build_type_xam.py#

View page source

Python: 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
#