# $Id: CMakeLists.txt 3505 2014-12-26 15:06:54Z bradbell $ # ----------------------------------------------------------------------------- # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell # # CppAD is distributed under multiple licenses. This distribution is under # the terms of the # Eclipse Public License Version 1.0. # # A copy of this license is included in the COPYING file of this distribution. # Please visit http://www.coin-or.org/CppAD/ for information on other licenses. # ----------------------------------------------------------------------------- # Build the example/atomic directory tests # Specifies build type for this directory. Possible values are # empty, Debug, Release, RelWithDebInfo and MinSizeRel SET(CMAKE_BUILD_TYPE DEBUG) # ADD_EXECUTABLE(example_atomic EXCLUDE_FROM_ALL atomic.cpp checkpoint.cpp get_started.cpp hes_sparse.cpp mat_mul.cpp norm_sq.cpp reciprocal.cpp tangent.cpp old_reciprocal.cpp old_mat_mul.cpp old_tan.cpp old_usead_1.cpp old_usead_2.cpp ) # Extra compiler flags add_cppad_cxx_flags( example_atomic ) # Add the check_example_atomic target ADD_CUSTOM_TARGET(check_example_atomic example_atomic DEPENDS example_atomic )