source: trunk/speed/CMakeLists.txt @ 3922

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

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 7c6be616382d4f09bbb66749143820f9364b43f7
end hash code: 3f17dccb8fad7806e6519c2d9a3d62203fb0740c

commit 3f17dccb8fad7806e6519c2d9a3d62203fb0740c
Author: Brad Bell <bradbell@…>
Date: Sun May 14 23:25:01 2017 -0700

jenkins.sh: must copy autotools version of configure.hpp.

commit 27c213f75938a5fc3ced81ef24724793416f0f15
Author: Brad Bell <bradbell@…>
Date: Sun May 14 23:12:10 2017 -0700

autotools.omh: make some improvements to these instructions.

commit c7cc571e5ba9cd47cf6c580a6ae70fc0b293856f
Author: Brad Bell <bradbell@…>
Date: Sun May 14 20:38:20 2017 -0700

mul_level.cpp: include test of fabs.

commit ab06ab7963ae301a3f86198b5f7231af61ba340e
Author: Brad Bell <bradbell@…>
Date: Sun May 14 20:14:20 2017 -0700

  1. Move autotools settimg of CPPAD_HAS_* to comfigure.ac.
  2. Fix some 'ifdef CPPAD_HAS_*' -> 'if CPPAD_HAS_*'.
  3. Autotools automatic changes to */makefile.in, configure.


CMakeLists.txt: include setting of cppad_has_boost (not yet used).

commit 61d90e2891327fd4c3fba2e078f84699ffc38cc0
Author: Brad Bell <bradbell@…>
Date: Sun May 14 18:18:38 2017 -0700

  1. Define cppad_has_<package> in optional_package.cmake. Use it in cmake files (and CPPAD_HAS_<PACKAGE> is C++ files) to determine if package is available.


  1. Add accuracy specifications to CppAD::to_string and convert some more cases from using machine epsilon to using digits10.

commit c1370167ed9892b72879b7b6fd2a53659509129d
Author: Brad Bell <bradbell@…>
Date: Sun May 14 13:24:31 2017 -0700

Use package (not package_prefix variable) as argument to optional_package.

commit 5a43c975953d91b487a396695d5485b4bb786937
Author: Brad Bell <bradbell@…>
Date: Sun May 14 09:22:15 2017 -0700

base_to_string.hpp: use digits10 to simplify code.
numeric_limits.hpp: correct font in syntax.
base_alloc.cpp: test numeric_limits and to_string.

  • Property svn:keywords set to Id
File size: 1.7 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
12# Specify build type for this directory and all its subdirectories
13# (subdirectories do not specify build type).
14# Possible values are DEBUG, RELEASE, RelWithDebInfo and MinSizeRel
15# CppAD developers can use DEBUG for debugging speed tests.
16SET(CMAKE_BUILD_TYPE RELEASE)
17
18# Initialize list of tests as empty
19SET(check_speed_depends "")
20
21# The CMakeLists.txt file in the specified source directory is processed
22# before the current input file continues beyond this command.
23# add_subdirectory(source_dir [binary_dir] [EXCLUDE_FROM_ALL])
24ADD_SUBDIRECTORY(src)
25ADD_SUBDIRECTORY(cppad)
26ADD_SUBDIRECTORY(double)
27ADD_SUBDIRECTORY(example)
28IF ( cppad_profile_flag )
29        ADD_SUBDIRECTORY(profile)
30ENDIF ( cppad_profile_flag )
31#
32IF( cppad_has_adolc )
33        ADD_SUBDIRECTORY(adolc)
34ENDIF( cppad_has_adolc )
35IF( cppad_has_fadbad )
36        ADD_SUBDIRECTORY(fadbad)
37ENDIF( cppad_has_fadbad )
38IF( cppad_has_sacado )
39        ADD_SUBDIRECTORY(sacado)
40ENDIF( cppad_has_sacado )
41
42# check_speed
43ADD_CUSTOM_TARGET(check_speed DEPENDS ${check_speed_depends} )
44MESSAGE(STATUS "make check_speed: available")
45
46# Change check depends in parent environment
47add_to_list(check_depends check_speed)
48SET(check_depends "${check_depends}" PARENT_SCOPE)
Note: See TracBrowser for help on using the repository browser.