source: trunk/speed/example/CMakeLists.txt @ 3857

Last change on this file since 3857 was 3857, checked in by bradbell, 3 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 5b1136c40e85afdfe267a1b1bf35b1fbb652e90f
end hash code: b6d8a65aa1e85f3ed123b07b67da04fd4067d788

commit b6d8a65aa1e85f3ed123b07b67da04fd4067d788
Author: Brad Bell <bradbell@…>
Date: Fri Dec 23 05:45:01 2016 -0700

Move example to sub-directory (so can start work on true interface).

commit af0c690d8a59b24b69b297786c0ce78808592d54
Author: Brad Bell <bradbell@…>
Date: Fri Dec 23 04:46:33 2016 -0700

  1. Add documentation for available 'make check' commands.
  2. Advance version to cppad-20161223.

commit 45abd5f5a247a9a30d4fb7f1a3af759de06a1308
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 23:18:21 2016 -0700

Add an example template class.

commit b4fd2022cdb1fdf589014e78525d90ba9a1b88f5
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 22:17:17 2016 -0700

Add more const declarations to class functions.

commit 47d10820523738a8e16a61fd94d13d58f9f84b0d
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 17:49:05 2016 -0700

  1. Change my_class -> normal_class.
  2. Remove *.sh scripts that have been repalced by swig/CMakeLists.txt.

commit d2555cd4e77a47fc3c6e62534a07feea56e68f94
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 17:28:00 2016 -0700

Print out avaiable make check commands during camke command execution.

commit bf57a55c834caa754cc960a34050a0414997c6e2
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 16:46:32 2016 -0700

Move check depends determination for cppad_ipopt to sub-directories.

commit 58c299de29feaad5e01ef8fb5e1974476362549f
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 16:12:13 2016 -0700

Move check depends determination to subdirectories.

commit 537ea4d3401958a3616cb8c02e27b68e96a50392
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 14:07:22 2016 -0700

Move check depends to subdirectores for multi_thread, print_for, test_more.

commit 7526b243b4df8d1187b5fe1760771036d331f9a8
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 13:40:51 2016 -0700

Move check_depends for compare_c and introduction to subdirectories.
check_swig_example.m: remove addpath (copy to woring directory instead)
check_swig_example.py: remove path.append (copy to woring directory instead)

commit c7f51b1df882ee95d36b4cc1354dfe6d4726e942
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 08:47:57 2016 -0700

Move check_depends determination for examples to subdiectories.

commit c193255447a636c551652b3d88488a17c1951215
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 08:18:36 2016 -0700

  1. Add cmake commands for build of swig for both python and octave.
  2. Advance version to cppad-20161222.

commit 0da2d3ffdd4b21cf30aeff0d0545457d07d3d923
Author: Brad Bell <bradbell@…>
Date: Thu Dec 22 05:20:56 2016 -0700

Move example -> swig_example to avoid cmake naming conflicts with ../example

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: CMakeLists.txt 3857 2016-12-23 13:08: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 speed/cppad directory tests
13# Inherit build type from ../CMakeList.txt
14
15# add_executable(<name> [WIN32] [MACOSX_BUNDLE] [EXCLUDE_FROM_ALL]
16#                 source1 source2 ... sourceN
17# )
18# We do not add ../src/speed_src library to avoid undefined externals.
19# Instead we build our own copy of ../src/microsoft_timer.cpp.
20ADD_EXECUTABLE(speed_example EXCLUDE_FROM_ALL example.cpp
21        det_by_lu.cpp
22        det_by_minor.cpp
23        det_of_minor.cpp
24        elapsed_seconds.cpp
25        mat_sum_sq.cpp
26        ode_evaluate.cpp
27        sparse_hes_fun.cpp
28        sparse_jac_fun.cpp
29        speed_test.cpp
30        time_test.cpp
31        "../src/microsoft_timer.cpp"
32)
33
34# Compiler flags for cppad source
35add_cppad_cxx_flags( speed_example )
36
37# Add the check_speed_example target
38ADD_CUSTOM_TARGET(check_speed_example
39        speed_example
40        DEPENDS speed_example speed_src
41)
42MESSAGE(STATUS "make check_speed_example: available")
43
44# Change check depends in parent environment
45add_to_list(check_speed_depends check_speed_example)
46SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
Note: See TracBrowser for help on using the repository browser.