source: trunk/example/atomic/CMakeLists.txt @ 3802

Last change on this file since 3802 was 3802, checked in by bradbell, 4 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 86f9f8c0c7811bfa69a3ea0fff1188cd37705cea
end hash code: d75b0cba62a41b958b974a326168299773bc4614

commit d75b0cba62a41b958b974a326168299773bc4614
Author: Brad Bell <bradbell@…>
Date: Thu Mar 17 18:53:04 2016 -0700

Add atomic_ode.cpp example.

commit dec6fb33860c355cfb1af2cb487623d499d4f04d
Author: Brad Bell <bradbell@…>
Date: Thu Mar 17 07:15:39 2016 -0700

  1. Add the atomic_extended_ode.cpp example.
  2. Modify atomic/test_one.sh so that is uses system configuration.
  3. Advance version to cppad-20160317.
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: CMakeLists.txt 3802 2016-03-18 02:25:43Z bradbell $
2# -----------------------------------------------------------------------------
3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
4#
5# CppAD is distributed under multiple licenses. This distribution is under
6# the terms of the
7#                     Eclipse Public License Version 1.0.
8#
9# A copy of this license is included in the COPYING file of this distribution.
10# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
11# -----------------------------------------------------------------------------
12# Build the example/atomic directory tests
13
14# Specifies build type for this directory. Possible values are
15# empty, Debug, Release, RelWithDebInfo and MinSizeRel
16SET(CMAKE_BUILD_TYPE DEBUG)
17#
18CONFIGURE_FILE(
19        ${CMAKE_CURRENT_SOURCE_DIR}/test_one.sh.in
20        ${CMAKE_CURRENT_SOURCE_DIR}/test_one.sh
21)
22#
23ADD_EXECUTABLE(example_atomic EXCLUDE_FROM_ALL
24        atomic.cpp
25        checkpoint.cpp
26        extended_ode.cpp
27        for_sparse_hes.cpp
28        for_sparse_jac.cpp
29        forward.cpp
30        get_started.cpp
31        mat_mul.cpp
32        mul_level.cpp
33        norm_sq.cpp
34        ode.cpp
35        reciprocal.cpp
36        rev_sparse_hes.cpp
37        rev_sparse_jac.cpp
38        reverse.cpp
39        set_sparsity.cpp
40        tangent.cpp
41)
42
43# Extra compiler flags
44add_cppad_cxx_flags( example_atomic )
45
46# Add the check_example_atomic target
47ADD_CUSTOM_TARGET(check_example_atomic
48        example_atomic
49        DEPENDS example_atomic
50)
Note: See TracBrowser for help on using the repository browser.