source: trunk/example/optimize/CMakeLists.txt @ 3928

Last change on this file since 3928 was 3928, checked in by bradbell, 2 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: c326e13e2a7554ceb73e05e6af6b7c9fac4a2b4d
end hash code: 50e67821490174a876874dae9dbfa83365212e2d

commit 50e67821490174a876874dae9dbfa83365212e2d
Author: Brad Bell <bradbell@…>
Date: Wed May 17 09:52:27 2017 -0700

  1. Move example/*.cpp -> example/general/*.cpp.
  2. Make example/CMakeLists.txt control debug/release for all subdirectories.
  3. Advanmce to cppad-20170517.
File size: 1.2 KB
Line 
1# -----------------------------------------------------------------------------
2# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
3#
4# CppAD is distributed under multiple licenses. This distribution is under
5# the terms of the
6#                     Eclipse Public License Version 1.0.
7#
8# A copy of this license is included in the COPYING file of this distribution.
9# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
10# -----------------------------------------------------------------------------
11# Build the example/optimize directory tests
12
13#
14ADD_EXECUTABLE(example_optimize EXCLUDE_FROM_ALL
15        conditional_skip.cpp
16        compare_op.cpp
17        cumulative_sum.cpp
18        forward_active.cpp
19        nest_conditional.cpp
20        print_for.cpp
21        optimize.cpp
22        reverse_active.cpp
23)
24
25# Extra compiler flags
26add_cppad_cxx_flags( example_optimize )
27
28# Add the check_example_optimize target
29ADD_CUSTOM_TARGET(check_example_optimize
30        example_optimize
31        DEPENDS example_optimize
32)
33MESSAGE(STATUS "make check_example_optimize: available")
34
35# add to check check_example_depends in parent environment
36add_to_list(check_example_depends check_example_optimize)
37SET(check_example_depends "${check_example_depends}" PARENT_SCOPE)
Note: See TracBrowser for help on using the repository browser.