1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
# SPDX-FileCopyrightText: Bradley M. Bell <bradbell@seanet.com>
# SPDX-FileContributor: 2003-22 Bradley M. Bell
# ----------------------------------------------------------------------------
# Build the speed/cppad directory tests
# Inherit build type from ../CMakeList.txt
#
# source_list
SET(source_list example.cpp
det_by_lu.cpp
det_by_minor.cpp
det_of_minor.cpp
elapsed_seconds.cpp
mat_sum_sq.cpp
ode_evaluate.cpp
sparse_hes_fun.cpp
sparse_jac_fun.cpp
speed_test.cpp
time_test.cpp
)
set_compile_flags( speed_example "${cppad_debug_which}" "${source_list}" )
#
# speed_example
ADD_EXECUTABLE( speed_example EXCLUDE_FROM_ALL ${source_list} )
TARGET_LINK_LIBRARIES(speed_example
${cppad_lib}
${colpack_libs}
)
# check_speed_example
add_check_executable(check_speed example)
#
# seed_program
set_compile_flags( speed_program "${cppad_debug_which}" speed_program.cpp )
ADD_EXECUTABLE( speed_program EXCLUDE_FROM_ALL speed_program.cpp )
TARGET_LINK_LIBRARIES(speed_program
${cppad_lib}
${colpack_libs}
)
# check_speed_program
add_check_executable(check_speed program)
|