source: trunk/example/CMakeLists.txt @ 3933

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

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 2c4a32a99cc6fd35150317d891fc837423e7d37f
end hash code: 258df399feac1fa32005b91765bda94af09ce893

commit 258df399feac1fa32005b91765bda94af09ce893
Author: Brad Bell <bradbell@…>
Date: Fri May 19 12:42:03 2017 -0700

Move deprecated examples from test_more/general -> example/deprecated.


general.cpp: correct name for test group.

  • Property svn:keywords set to Id
File size: 1.5 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 directory tests
12# Inherit environment from ../CMakeList.txt
13
14# Specifies build type for all the example subdirectories:
15SET(CMAKE_BUILD_TYPE DEBUG)
16
17# initialize check_depends
18SET(check_example_depends "")
19
20# atomic examples
21ADD_SUBDIRECTORY(atomic)
22
23# deprecated examples
24ADD_SUBDIRECTORY(deprecated)
25
26# general examples
27ADD_SUBDIRECTORY(general)
28
29# get_started
30ADD_SUBDIRECTORY(get_started)
31
32# ipopt_solve examples
33ADD_SUBDIRECTORY(ipopt_solve)
34
35# multi_thread examples
36ADD_SUBDIRECTORY(multi_thread)
37
38# optimize examples
39ADD_SUBDIRECTORY(optimize)
40
41# print_for example
42ADD_SUBDIRECTORY(print_for)
43
44# sparse examples
45ADD_SUBDIRECTORY(sparse)
46
47# utility examples
48ADD_SUBDIRECTORY(utility)
49
50# Add the check_example target
51ADD_CUSTOM_TARGET(check_example "" DEPENDS ${check_example_depends})
52MESSAGE(STATUS "make check_example: available")
53
54# Change check depends in parent environment
55add_to_list(check_depends check_example)
56SET(check_depends "${check_depends}" PARENT_SCOPE)
Note: See TracBrowser for help on using the repository browser.