Changeset 3857


Ignore:
Timestamp:
Dec 23, 2016 8:08:43 AM (3 years ago)
Author:
bradbell
Message:

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

Location:
trunk
Files:
8 added
7 deleted
36 edited

Legend:

Unmodified
Added
Removed
  • trunk/AUTHORS

    r3856 r3857  
    22             ===========================================
    33
    4 To date, 2016-12-20, Bradley M. Bell is the sole author of CppAD.
     4To date, 2016-12-23, Bradley M. Bell is the sole author of CppAD.
    55While Bradley M. Bell worked for the University of Washington during
    66the development of CppAD, the following are also true:
  • trunk/CMakeLists.txt

    r3856 r3857  
    1818
    1919# cppad_version is used by set_version.sh to get the version number.
    20 SET(cppad_version      "20161220" )
     20SET(cppad_version      "20161223" )
    2121SET(cppad_url          "http://www.coin-or.org/CppAD" )
    2222SET(cppad_description  "Differentiation of C++ Algorithms" )
     
    265265SET(check_depends "")
    266266#
     267# directories with no check depends entries
    267268ADD_SUBDIRECTORY(cppad)
    268269ADD_SUBDIRECTORY(pkgconfig)
     
    271272ENDIF( colpack_prefix)
    272273#
     274IF( NOT ( "${check_depends}" STREQUAL "" ) )
     275        MESSAGE(FATAL_ERROR "Error in CMakeLists.txt scripts")
     276ENDIF( NOT ( "${check_depends}" STREQUAL "" ) )
     277#
     278# directories with check depends entries
     279ADD_SUBDIRECTORY(swig)
     280ADD_SUBDIRECTORY(example)
    273281ADD_SUBDIRECTORY(compare_c)
    274 add_to_list(check_depends check_compare_c)
    275 #
    276 ADD_SUBDIRECTORY(example)
    277 add_to_list(check_depends check_example)
    278 #
    279282ADD_SUBDIRECTORY(introduction)
    280 add_to_list(check_depends check_introduction)
    281 #
    282283ADD_SUBDIRECTORY(print_for)
    283 add_to_list(check_depends check_print_for)
    284 #
    285284ADD_SUBDIRECTORY(test_more)
    286 add_to_list(check_depends check_test_more)
    287 #
    288285ADD_SUBDIRECTORY(multi_thread)
    289 add_to_list(check_depends check_multi_thread)
    290 #
    291286ADD_SUBDIRECTORY(speed)
    292 add_to_list(check_depends check_speed)
    293 #
    294287IF ( ipopt_prefix )
    295288        ADD_SUBDIRECTORY(cppad_ipopt)
    296         add_to_list(check_depends check_cppad_ipopt)
    297289ENDIF( ipopt_prefix )
    298290#
    299291ADD_CUSTOM_TARGET(check DEPENDS ${check_depends})
     292MESSAGE(STATUS "make check: avialable")
    300293# ============================================================================
    301294# Copy a file to another location and modify its contents.
  • trunk/bin/check_cmake.sh

    r3853 r3857  
    7575                multi_thread/CMakeLists.txt | \
    7676                print_for/CMakeLists.txt | \
     77                swig/CMakeLists.txt | \
     78                swig/example/CMakeLists.txt | \
    7779                test_more/CMakeLists.txt )
    7880                check="CMAKE_BUILD_TYPE DEBUG"
  • trunk/cmake/sources_libs_define.cmake

    r3119 r3857  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1919# ${prefix_name}_libs is set to ${libs}. If ${define} is not empty "",
    2020# the defintion -DCPPAD_${define} is added; i.e.,
    21 #       ADD_DEFINITIONS("-DCPPAD_${define}") 
     21#       ADD_DEFINITIONS("-DCPPAD_${define}")
    2222#
    2323MACRO(sources_libs_define prefix_name soruces libs define)
     
    2727                IF( NOT "${define}" STREQUAL "" )
    2828                        ADD_DEFINITIONS("-DCPPAD_${define}")
    29                         MESSAGE(STATUS "-DCPPAD_${define}" )
     29                        # MESSAGE(STATUS "-DCPPAD_${define}" )
    3030                ENDIF( NOT "${define}" STREQUAL "" )
    3131        ELSE ( ${prefix_name}_prefix )
  • trunk/compare_c/CMakeLists.txt

    r2581 r3857  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1515#       cpp
    1616# $$
    17 # 
     17#
    1818# $section Compare Speed of C and C++$$
    1919# $index compare, speed C and C++$$
     
    3838# -----------------------------------------------------------------------------
    3939
    40 # Specifies build type for this directory. Possible values are 
     40# Specifies build type for this directory. Possible values are
    4141# empty, Debug, Release, RelWithDebInfo and MinSizeRel
    4242SET(CMAKE_BUILD_TYPE RELEASE)
     
    6060        #
    6161        # Add target the executes this program
    62         ADD_CUSTOM_TARGET(check_det_by_minor_${com} 
    63                 det_by_minor_${com} 
    64                 DEPENDS det_by_minor_${com} 
     62        ADD_CUSTOM_TARGET(check_det_by_minor_${com}
     63                det_by_minor_${com}
     64                DEPENDS det_by_minor_${com}
    6565        )
     66        MESSAGE(STATUS "make check_det_by_minor_${com}: available")
    6667
    6768ENDFOREACH(com)
    6869
    69 # Add the check_compare_c target
    70 ADD_CUSTOM_TARGET( check_compare_c 
    71         DEPENDS check_det_by_minor_c check_det_by_minor_cpp 
     70# check_compare_c target
     71ADD_CUSTOM_TARGET( check_compare_c
     72        DEPENDS check_det_by_minor_c check_det_by_minor_cpp
    7273)
     74MESSAGE(STATUS "make check_compare_c: available")
     75
     76# Add check_compare_c to check depends in parent environment
     77add_to_list(check_depends check_compare_c)
     78SET(check_depends "${check_depends}" PARENT_SCOPE)
  • trunk/configure

    r3856 r3857  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for cppad 20161220.
     3# Generated by GNU Autoconf 2.69 for cppad 20161223.
    44#
    55# Report bugs to <cppad@list.coin-or.org>.
     
    581581PACKAGE_NAME='cppad'
    582582PACKAGE_TARNAME='cppad'
    583 PACKAGE_VERSION='20161220'
    584 PACKAGE_STRING='cppad 20161220'
     583PACKAGE_VERSION='20161223'
     584PACKAGE_STRING='cppad 20161223'
    585585PACKAGE_BUGREPORT='cppad@list.coin-or.org'
    586586PACKAGE_URL=''
     
    14101410  # This message is too long to be a string in the A/UX 3.1 sh.
    14111411  cat <<_ACEOF
    1412 \`configure' configures cppad 20161220 to adapt to many kinds of systems.
     1412\`configure' configures cppad 20161223 to adapt to many kinds of systems.
    14131413
    14141414Usage: $0 [OPTION]... [VAR=VALUE]...
     
    14801480if test -n "$ac_init_help"; then
    14811481  case $ac_init_help in
    1482      short | recursive ) echo "Configuration of cppad 20161220:";;
     1482     short | recursive ) echo "Configuration of cppad 20161223:";;
    14831483   esac
    14841484  cat <<\_ACEOF
     
    16141614if $ac_init_version; then
    16151615  cat <<\_ACEOF
    1616 cppad configure 20161220
     1616cppad configure 20161223
    16171617generated by GNU Autoconf 2.69
    16181618
     
    22432243running configure, to aid debugging if configure makes a mistake.
    22442244
    2245 It was created by cppad $as_me 20161220, which was
     2245It was created by cppad $as_me 20161223, which was
    22462246generated by GNU Autoconf 2.69.  Invocation command line was
    22472247
     
    31333133# Define the identity of the package.
    31343134 PACKAGE='cppad'
    3135  VERSION='20161220'
     3135 VERSION='20161223'
    31363136
    31373137
     
    85738573# values after options handling.
    85748574ac_log="
    8575 This file was extended by cppad $as_me 20161220, which was
     8575This file was extended by cppad $as_me 20161223, which was
    85768576generated by GNU Autoconf 2.69.  Invocation command line was
    85778577
     
    86308630ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    86318631ac_cs_version="\\
    8632 cppad config.status 20161220
     8632cppad config.status 20161223
    86338633configured by $0, generated by GNU Autoconf 2.69,
    86348634  with options \\"\$ac_cs_config\\"
  • trunk/configure.ac

    r3856 r3857  
    1313dnl Process this file with autoconf to produce a configure script.
    1414dnl   package   version              bug-report
    15 AC_INIT([cppad], [20161220], [cppad@list.coin-or.org])
     15AC_INIT([cppad], [20161223], [cppad@list.coin-or.org])
    1616AM_SILENT_RULES([yes])
    1717
  • trunk/cppad_ipopt/CMakeLists.txt

    r3853 r3857  
    1616
    1717# Initialize list of tests as empty
    18 SET(check_depends "")
     18SET(check_cppad_ipopt_depends "")
    1919
    2020# assert ipopt_prefix is defined
     
    2929# add_subdirectory(source_dir [binary_dir] [EXCLUDE_FROM_ALL])
    3030ADD_SUBDIRECTORY(src)
    31 #
    3231ADD_SUBDIRECTORY(example)
    33 add_to_list(check_depends check_cppad_ipopt_example)
    34 #
    3532ADD_SUBDIRECTORY(speed)
    36 add_to_list(check_depends check_cppad_ipopt_speed)
    37 #
    3833ADD_SUBDIRECTORY(test)
    39 add_to_list(check_depends check_cppad_ipopt_test)
    4034
    4135# Add the check_cppad_ipopt target
    42 ADD_CUSTOM_TARGET(check_cppad_ipopt DEPENDS ${check_depends} )
     36ADD_CUSTOM_TARGET(check_cppad_ipopt DEPENDS ${check_cppad_ipopt_depends} )
     37MESSAGE(STATUS "make check_cppad_ipopt: available")
     38
     39# Change check depends in parent environment
     40add_to_list(check_depends check_cppad_ipopt)
     41SET(check_depends "${check_depends}" PARENT_SCOPE)
  • trunk/cppad_ipopt/example/CMakeLists.txt

    r3853 r3857  
    5050        DEPENDS cppad_ipopt_example cppad_ipopt
    5151)
     52MESSAGE(STATUS "make check_cppad_ipopt_example: available")
     53
     54# Change check depends in parent environment
     55add_to_list(check_cppad_ipopt_depends check_cppad_ipopt_example)
     56SET(check_cppad_ipopt_depends "${check_cppad_ipopt_depends}" PARENT_SCOPE)
  • trunk/cppad_ipopt/speed/CMakeLists.txt

    r3853 r3857  
    5252        DEPENDS cppad_ipopt_speed cppad_ipopt
    5353)
     54MESSAGE(STATUS "make check_cppad_ipopt_speed: available")
     55
     56# Change check depends in parent environment
     57add_to_list(check_cppad_ipopt_depends check_cppad_ipopt_speed)
     58SET(check_cppad_ipopt_depends "${check_cppad_ipopt_depends}" PARENT_SCOPE)
  • trunk/cppad_ipopt/test/CMakeLists.txt

    r3853 r3857  
    4343        DEPENDS cppad_ipopt_test cppad_ipopt
    4444)
     45MESSAGE(STATUS "make check_cppad_ipopt_test: available")
     46
     47# Change check depends in parent environment
     48add_to_list(check_cppad_ipopt_depends check_cppad_ipopt_test)
     49SET(check_cppad_ipopt_depends "${check_cppad_ipopt_depends}" PARENT_SCOPE)
  • trunk/doc.omh

    r3856 r3857  
    9292$comment bin/version assumes that : follows cppad version number here$$
    9393$section
    94 cppad-20161220: A Package for Differentiation of C++ Algorithms
     94cppad-20161223: A Package for Differentiation of C++ Algorithms
    9595$$
    9696$mindex AD algorithmic differentiation automatic C++ algorithm derivative CppAD version cppad.hpp$$
  • trunk/example/CMakeLists.txt

    r3853 r3857  
    1818
    1919# initialize check_depends
    20 SET(check_depends example)
     20SET(check_example_depends example)
    2121
    2222# atomic examples
    2323ADD_SUBDIRECTORY(atomic)
    24 add_to_list(check_depends check_example_atomic)
    2524
    2625# optimize examples
    2726ADD_SUBDIRECTORY(optimize)
    28 add_to_list(check_depends check_example_optimize)
    2927
    3028# adolc_sources, adolc_libs, and CPPAD_HAS_ADOLC
     
    207205
    208206# Add the check_example target
    209 ADD_CUSTOM_TARGET(check_example example DEPENDS ${check_depends})
     207ADD_CUSTOM_TARGET(check_example example DEPENDS ${check_example_depends})
     208MESSAGE(STATUS "make check_example: available")
     209
     210# Change check depends in parent environment
     211add_to_list(check_depends check_example)
     212SET(check_depends "${check_depends}" PARENT_SCOPE)
  • trunk/example/atomic/CMakeLists.txt

    r3853 r3857  
    1010# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1111# -----------------------------------------------------------------------------
    12 # Build the example/atomic directory tests
    13 
    1412# Specifies build type for this directory. Possible values are
    1513# empty, Debug, Release, RelWithDebInfo and MinSizeRel
     
    4947        DEPENDS example_atomic
    5048)
     49MESSAGE(STATUS "make check_example_atomic: available")
     50
     51# add to check check_example_depends in parent environment
     52add_to_list(check_example_depends check_example_atomic)
     53SET(check_example_depends "${check_example_depends}" PARENT_SCOPE)
  • trunk/example/ipopt_solve/CMakeLists.txt

    r3853 r3857  
    4343        DEPENDS example_ipopt_solve
    4444)
     45MESSAGE(STATUS "make check_example_ipopt_solve: available")
  • trunk/example/optimize/CMakeLists.txt

    r3856 r3857  
    3535        DEPENDS example_optimize
    3636)
     37MESSAGE(STATUS "make check_example_optimize: available")
     38
     39# add to check check_example_depends in parent environment
     40add_to_list(check_example_depends check_example_optimize)
     41SET(check_example_depends "${check_example_depends}" PARENT_SCOPE)
  • trunk/introduction/CMakeLists.txt

    r2683 r3857  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1010# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1111# -----------------------------------------------------------------------------
    12 # Build the introduction/* directory tests 
     12# Build the introduction/* directory tests
    1313#
     14SET(check_introduction_depends "")
     15
    1416ADD_SUBDIRECTORY(exp_apx)
    1517ADD_SUBDIRECTORY(get_started)
    16 ADD_CUSTOM_TARGET(check_introduction DEPENDS
    17         check_introduction_exp_apx
    18         check_introduction_get_started
    19 )
     18
     19# Add the check_introduction target
     20ADD_CUSTOM_TARGET(check_introduction DEPENDS ${check_introduction_depends})
     21MESSAGE(STATUS "make check_introduction: available")
     22
     23# Change check depends in parent environment
     24add_to_list(check_depends check_introduction)
     25SET(check_depends "${check_depends}" PARENT_SCOPE)
  • trunk/introduction/exp_apx/CMakeLists.txt

    r2683 r3857  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1010# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1111# -----------------------------------------------------------------------------
    12 # Build the introduction/exp_apx directory tests 
     12# Build the introduction/exp_apx directory tests
    1313
    14 # Specifies build type for this directory. Possible values are 
     14# Specifies build type for this directory. Possible values are
    1515# empty, Debug, Release, RelWithDebInfo and MinSizeRel
    1616SET(CMAKE_BUILD_TYPE DEBUG)
     
    2626        exp_2_rev2.cpp
    2727        exp_2_for0.cpp
    28         exp_eps.cpp 
     28        exp_eps.cpp
    2929        exp_eps.hpp
    3030        exp_eps_cppad.cpp
     
    3838add_cppad_cxx_flags( introduction_exp_apx )
    3939
    40 # Add the check_speed_example target
    41 ADD_CUSTOM_TARGET(check_introduction_exp_apx 
    42         introduction_exp_apx 
    43         DEPENDS introduction_exp_apx 
     40# Add this check target
     41ADD_CUSTOM_TARGET(check_introduction_exp_apx
     42        introduction_exp_apx
     43        DEPENDS introduction_exp_apx
    4444)
     45MESSAGE(STATUS "make check_introduction_exp_apx: available")
     46
     47# Change check depends in parent environment
     48add_to_list(check_introduction_depends check_introduction_exp_apx)
     49SET(check_introduction_depends "${check_introduction_depends}" PARENT_SCOPE)
  • trunk/introduction/get_started/CMakeLists.txt

    r2683 r3857  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1010# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1111# -----------------------------------------------------------------------------
    12 # Build the introduction/get_started directory tests 
     12# Build the introduction/get_started directory tests
    1313
    14 # Specifies build type for this directory. Possible values are 
     14# Specifies build type for this directory. Possible values are
    1515# empty, Debug, Release, RelWithDebInfo and MinSizeRel
    1616SET(CMAKE_BUILD_TYPE DEBUG)
     
    2222add_cppad_cxx_flags( introduction_get_started )
    2323
    24 # Add the check_speed_example target
    25 ADD_CUSTOM_TARGET(check_introduction_get_started 
    26         introduction_get_started 
    27         DEPENDS introduction_get_started 
     24# Add the check for this target
     25ADD_CUSTOM_TARGET(check_introduction_get_started
     26        introduction_get_started
     27        DEPENDS introduction_get_started
    2828)
     29MESSAGE(STATUS "make check_introduction_get_started: available")
     30
     31# Change check depends in parent environment
     32add_to_list(check_introduction_depends check_introduction_get_started)
     33SET(check_introduction_depends "${check_introduction_depends}" PARENT_SCOPE)
  • trunk/multi_thread/CMakeLists.txt

    r3853 r3857  
    1717
    1818# initialize list as empty
    19 SET(check_depends "")
     19SET(check_multi_thread_depends "")
    2020
    2121# Define the operation
     
    3333        # OpenMP_CXX_FLAGS - flags to add to the CXX compiler for OpenMP support
    3434        ADD_SUBDIRECTORY(openmp)
    35         add_to_list(check_depends check_multi_thread_openmp)
    3635ENDIF ( OPENMP_FOUND )
    3736
     
    4847        IF ( pthread_ok )
    4948                ADD_SUBDIRECTORY(pthread)
    50                 add_to_list(check_depends check_multi_thread_pthread)
    5149        ENDIF ( pthread_ok )
    5250ENDIF ( pthread_lib_path )
     
    8684        IF( bthread_lib )
    8785                ADD_SUBDIRECTORY(bthread)
    88                 add_to_list(check_depends check_multi_thread_bthread)
    8986                MESSAGE(STATUS
    9087                "boost multi-threading library = ${bthread_lib_path}/${bthread_lib}"
     
    9592ENDIF ( Boost_FOUND )
    9693
    97 # check_multi_thread
    98 ADD_CUSTOM_TARGET(check_multi_thread DEPENDS ${check_depends})
     94IF( NOT( "${check_multi_threads_depends}" STREQUAL "" ) )
     95        # check_multi_thread
     96        ADD_CUSTOM_TARGET(check_multi_thread DEPENDS ${check_multi_thread_depends})
     97        MESSAGE(STATUS "make check_multi_thread: available")
     98
     99        # Change check depends in parent environment
     100        add_to_list(check_depends check_multi_thread)
     101        SET(check_depends "${check_depends}" PARENT_SCOPE)
     102ENDIF( NOT( "${check_multi_threads_depends}" STREQUAL "" ) )
  • trunk/multi_thread/bthread/CMakeLists.txt

    r3853 r3857  
    4848        DEPENDS multi_thread_bthread
    4949)
     50MESSAGE(STATUS "make check_multi_thread_bthread: available")
     51
     52# Change check depends in parent environment
     53add_to_list(check_multi_thread_depends check_multi_thread_bthread)
     54SET(check_multi_thread_depends "${check_multi_thread_depends}" PARENT_SCOPE)
  • trunk/multi_thread/openmp/CMakeLists.txt

    r3853 r3857  
    4848        DEPENDS multi_thread_openmp
    4949)
     50MESSAGE(STATUS "make check_multi_thread_openmp: available")
     51
     52
     53# Change check depends in parent environment
     54add_to_list(check_multi_thread_depends check_multi_thread_openmp)
     55SET(check_multi_thread_depends "${check_multi_thread_depends}" PARENT_SCOPE)
  • trunk/multi_thread/pthread/CMakeLists.txt

    r3853 r3857  
    4848        DEPENDS multi_thread_pthread
    4949)
     50MESSAGE(STATUS "make check_multi_thread_pthread: available")
     51
     52# Change check depends in parent environment
     53add_to_list(check_multi_thread_depends check_multi_thread_pthread)
     54SET(check_multi_thread_depends "${check_multi_thread_depends}" PARENT_SCOPE)
  • trunk/omh/install/cmake.omh

    r3792 r3857  
    5555        id
    5656        addr
     57        grep
    5758$$
    5859
     
    118119%$$
    119120
     121$head make check$$
     122Important information about the CppAD configuration is output
     123by this command. If you have the $code grep$$ program,
     124and store the output in $code cmake.log$$, you can get a list of
     125all the test options with the command:
     126$codep
     127        grep 'make check' cmake.log
     128$$
     129
    120130$head cmake_verbose_makefile$$
    121131This value should be either $code YES$$ or $code NO$$.
  • trunk/omh/install/download.omh

    r3856 r3857  
    9797$rnext
    9898current  $cnext EPL $cnext $href%
    99 http://www.coin-or.org/download/source/CppAD/cppad-20161220.epl.tgz%
    100 cppad-20161220.epl.tgz%$$
     99http://www.coin-or.org/download/source/CppAD/cppad-20161223.epl.tgz%
     100cppad-20161223.epl.tgz%$$
    101101$rnext
    102102current  $cnext GPL $cnext $href%
    103 http://www.coin-or.org/download/source/CppAD/cppad-20161220.gpl.tgz%
    104 cppad-20161220.gpl.tgz%$$
     103http://www.coin-or.org/download/source/CppAD/cppad-20161223.gpl.tgz%
     104cppad-20161223.gpl.tgz%$$
    105105$tend
    106106
  • trunk/omh/whats_new/whats_new_16.omh

    r3856 r3857  
    5050assist you in learning about changes between various versions of CppAD.
    5151
     52$head 12-23$$
     53Added a way for the user to determine what tests options are available; see
     54$cref/make check/cmake/make check/$$.
     55
    5256$head 12-20$$
    5357Change the optimize $cref/examples/optimize/Examples/$$ to use
  • trunk/print_for/CMakeLists.txt

    r2564 r3857  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1010# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1111# -----------------------------------------------------------------------------
    12 # Build the print_for directory tests 
     12# Build the print_for directory tests
    1313# Inherit environment from ../CMakeList.txt
    1414
    15 # Specifies build type for this directory. Possible values are 
     15# Specifies build type for this directory. Possible values are
    1616# empty, Debug, Release, RelWithDebInfo and MinSizeRel
    1717SET(CMAKE_BUILD_TYPE DEBUG)
     
    2525add_cppad_cxx_flags(print_for)
    2626
    27 # Add the check_print_for target
     27# check_print_for target
    2828ADD_CUSTOM_TARGET(check_print_for print_for DEPENDS print_for)
     29MESSAGE(STATUS "make check_print_for: available")
     30
     31# Change check depends in parent environment
     32add_to_list(check_depends check_print_for)
     33SET(check_depends "${check_depends}" PARENT_SCOPE)
  • trunk/speed/CMakeLists.txt

    r3853 r3857  
    1818
    1919# Initialize list of tests as empty
    20 SET(check_depends "")
     20SET(check_speed_depends "")
    2121
    2222# The CMakeLists.txt file in the specified source directory is processed
     
    2424# add_subdirectory(source_dir [binary_dir] [EXCLUDE_FROM_ALL])
    2525ADD_SUBDIRECTORY(src)
    26 #
    2726ADD_SUBDIRECTORY(cppad)
    28 add_to_list(check_depends check_speed_cppad)
    29 #
    3027ADD_SUBDIRECTORY(double)
    31 add_to_list(check_depends check_speed_double)
    32 #
    3328ADD_SUBDIRECTORY(example)
    34 add_to_list(check_depends check_speed_example)
    35 #
    3629IF ( cppad_profile_flag )
    3730        ADD_SUBDIRECTORY(profile)
    38         add_to_list(check_depends check_speed_profile)
    3931ENDIF ( cppad_profile_flag )
    4032#
    4133IF ( adolc_prefix )
    4234        ADD_SUBDIRECTORY(adolc)
    43         add_to_list(check_depends check_speed_adolc)
    4435ENDIF( adolc_prefix )
    4536IF ( fadbad_prefix )
    4637        ADD_SUBDIRECTORY(fadbad)
    47         add_to_list(check_depends check_speed_fadbad)
    4838ENDIF( fadbad_prefix )
    4939IF ( sacado_prefix )
    5040        ADD_SUBDIRECTORY(sacado)
    51         add_to_list(check_depends check_speed_sacado)
    5241ENDIF( sacado_prefix )
    5342
    5443# check_speed
    55 ADD_CUSTOM_TARGET(check_speed DEPENDS ${check_depends} )
     44ADD_CUSTOM_TARGET(check_speed DEPENDS ${check_speed_depends} )
     45MESSAGE(STATUS "make check_speed: available")
     46
     47# Change check depends in parent environment
     48add_to_list(check_depends check_speed)
     49SET(check_depends "${check_depends}" PARENT_SCOPE)
  • trunk/speed/adolc/CMakeLists.txt

    r3853 r3857  
    6060        speed_adolc speed_src
    6161)
     62MESSAGE(STATUS "make check_speed_adolc: available")
     63
     64# Change check depends in parent environment
     65add_to_list(check_speed_depends check_speed_adolc)
     66SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
  • trunk/speed/cppad/CMakeLists.txt

    r3853 r3857  
    4949        DEPENDS speed_cppad speed_src
    5050)
     51MESSAGE(STATUS "make check_speed_cppad: available")
     52
     53# Change check depends in parent environment
     54add_to_list(check_speed_depends check_speed_cppad)
     55SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
  • trunk/speed/double/CMakeLists.txt

    r3853 r3857  
    4646        DEPENDS speed_double speed_src
    4747)
     48MESSAGE(STATUS "make check_speed_double: available")
     49
     50# Change check depends in parent environment
     51add_to_list(check_speed_depends check_speed_double)
     52SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
  • trunk/speed/example/CMakeLists.txt

    r3853 r3857  
    4040        DEPENDS speed_example speed_src
    4141)
     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)
  • trunk/speed/fadbad/CMakeLists.txt

    r3853 r3857  
    5252        DEPENDS speed_fadbad speed_src
    5353)
     54MESSAGE(STATUS "make check_speed_fadbad: available")
     55
     56# Change check depends in parent environment
     57add_to_list(check_speed_depends check_speed_fadbad)
     58SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
  • trunk/speed/profile/CMakeLists.txt

    r3853 r3857  
    6060        DEPENDS speed_profile
    6161)
     62MESSAGE(STATUS "make check_speed_profile: available")
    6263
    6364# Sed script to make gprof output more readable, use:
     
    7172        COPYONLY
    7273)
     74
     75# Change check depends in parent environment
     76add_to_list(check_speed_depends check_speed_profile)
     77SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
  • trunk/speed/sacado/CMakeLists.txt

    r3853 r3857  
    7979        DEPENDS speed_sacado speed_src
    8080)
     81MESSAGE(STATUS "make check_speed_sacado: available")
     82
     83# Change check depends in parent environment
     84add_to_list(check_speed_depends check_speed_sacado)
     85SET(check_speed_depends "${check_speed_depends}" PARENT_SCOPE)
  • trunk/test_more/CMakeLists.txt

    r3811 r3857  
    151151# Add the check_test_more target
    152152ADD_CUSTOM_TARGET( check_test_more test_more DEPENDS test_more )
     153MESSAGE(STATUS "make check_test_more: available")
     154
     155# Change check depends in parent environment
     156add_to_list(check_depends check_test_more)
     157SET(check_depends "${check_depends}" PARENT_SCOPE)
Note: See TracChangeset for help on using the changeset viewer.