Changeset 2752


Ignore:
Timestamp:
Feb 20, 2013 12:44:35 PM (7 years ago)
Author:
bradbell
Message:
  1. Change order of cmake command line arguemnts to be same in docuemtion and

implementation.

  1. Put all comand line arguements that are handled by cppad/CMakeLists.txt

into final group in cmake command line documentation.

  1. Fix documentation for cppad_test_vector_namespace

to be for cppad_testvector.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r2709 r2752  
    153153)
    154154# -----------------------------------------------------------------------------
     155# cppad_cxx_flags
     156command_line_arg(cppad_cxx_flags NOTFOUND STRING
     157        "extra flags used with cppad source (besides debug and release flags)"
     158)
     159# -----------------------------------------------------------------------------
    155160# cppad_documentation
    156161command_line_arg(cppad_documentation NO BOOL
    157162        "install cppad documentation"
    158 )
    159 # -----------------------------------------------------------------------------
    160 # cppad_cxx_flags
    161 command_line_arg(cppad_cxx_flags NOTFOUND STRING
    162         "extra flags used with cppad source (besides debug and release flags)"
    163163)
    164164# -----------------------------------------------------------------------------
  • trunk/bin/check_all.sh

    r2740 r2752  
    118118        fi
    119119done
     120cmake_args="$cmake_args -D cppad_cxx_flags=\
     121'-Wall -ansi -pedantic-errors -std=c++98 -Wshadow'"
     122cmake_args="$cmake_args -D cppad_documentation=YES"
     123#
    120124cmake_args="$cmake_args -D cppad_sparse_list=YES"
    121125cmake_args="$cmake_args -D cppad_testvector=boost"
     
    123127cmake_args="$cmake_args -D cppad_tape_addr_type=int"
    124128cmake_args="$cmake_args -D cppad_max_num_threads=48"
    125 cmake_args="$cmake_args -D cppad_documentation=YES"
    126 cmake_args="$cmake_args -D cppad_cxx_flags=\
    127 '-Wall -ansi -pedantic-errors -std=c++98 -Wshadow'"
    128129#
    129130#
  • trunk/cppad/CMakeLists.txt

    r2577 r2752  
    11#CppAD $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    2828# command line arguments
    2929#
     30#
     31# cppad_testvector
     32command_line_arg(cppad_testvector cppad STRING
     33"Namespace of vector used for testing, one of: boost, cppad, eigen, std"
     34)
     35#
     36# cppad_max_num_threads
     37command_line_arg(cppad_max_num_threads 48 STRING
     38        "maximum number of threads that CppAD can use use"
     39)
    3040# cppad_sparse_list
    3141command_line_arg(cppad_sparse_list YES BOOL
     
    3343)
    3444#
    35 # cppad_testvector
    36 command_line_arg(cppad_testvector cppad STRING
    37 "Namespace of vector used for testing, one of: boost, cppad, eigen, std"
     45# cppad_tape_id_type
     46command_line_arg(cppad_tape_id_type "unsigned int" STRING
     47        "type used to identify different tapes, size must be <= sizeof(size_t)"
    3848)
    3949#
     
    4151command_line_arg(cppad_tape_addr_type "unsigned int" STRING
    4252"type used to identify variables on one tape, size must be <= sizeof(size_t)"
    43 )
    44 #
    45 # cppad_tape_id_type
    46 command_line_arg(cppad_tape_id_type "unsigned int" STRING
    47         "type used to identify different tapes, size must be <= sizeof(size_t)"
    48 )
    49 #
    50 # cppad_max_num_threads
    51 command_line_arg(cppad_max_num_threads 48 STRING
    52         "maximum number of threads that CppAD can use use"
    5353)
    5454# -----------------------------------------------------------------------------
  • trunk/omh/install/cmake.omh

    r2740 r2752  
    9898        \
    9999        -D cppad_cxx_flags=%cppad_cxx_flags%                         \
    100         -D cppad_test_vector_namespace=%cppad_test_vector_namespace% \
    101100        -D cppad_documentation=%cppad_documentation%                 \
     101        \
     102        -D cppad_testvector=%cppad_testvector%                       \
    102103        -D cppad_max_num_threads=%cppad_max_num_threads%             \
    103104        -D cppad_sparse_list=%cppad_sparse_list%                     \
     
    241242compiling examples and test that use these packages.
    242243
    243 $head cppad_testvector$$
    244 See $tref cppad_testvector$$.
    245 
    246244$head cppad_documentation$$
    247245$index install, cppad documentation$$
     
    266264%$$
    267265where $icode postfix$$ is $icode cmake_install_postfix$$.
     266
     267$head cppad_testvector$$
     268See $tref cppad_testvector$$.
    268269
    269270$head cppad_max_num_threads$$
  • trunk/omh/install/eigen_prefix.omh

    r2740 r2752  
    1313$dollar @$$
    1414$spell
     15        testvector
    1516        dir
    1617        namespace
     
    7576If you have specified $icode eigen_prefix$$ you can choose
    7677$codei%
    77         -D cppad_test_vector_namespace=eigen
     78        -D cppad_testvector=eigen
    7879%$$
    7980on the $cref/cmake command/cmake/CMake Command/$$ line.
  • trunk/omh/whats_new/whats_new_13.omh

    r2737 r2752  
    1414$dollar @$$
    1515$spell
     16        cmake
     17        namespace
     18        testvector
     19        eigen
    1620        microsoft
    1721        src
     
    3034The purpose of this section is to
    3135assist you in learning about changes between various versions of CppAD.
     36
     37$head 02-20$$
     38The documentation for the $cref cmake$$ install option
     39$code cppad_test_vector_namespace$$ was fixed to be
     40$cref/cppad_testvector/cmake/cppad_testvector/$$.
     41This was also fixed for the
     42$cref/eigen test vector/eigen_prefix/Test Vector/$$ documentation.
    3243
    3344$head 01-07$$
Note: See TracChangeset for help on using the changeset viewer.