Criterion/samples/tests/CMakeLists.txt

28 lines
459 B
Text
Raw Permalink Normal View History

2015-09-09 01:47:10 +02:00
set(SAMPLES
failmessages.c
2015-09-09 02:43:01 +02:00
exit.c
long-messages.c
other-crashes.c
2015-09-09 01:47:10 +02:00
)
if (CMAKE_CXX_COMPILER_WORKS)
set(SAMPLES ${SAMPLES}
failmessages.cc
exit.cc
long-messages.cc
other-crashes.cc
exception.cc
)
endif ()
2015-11-27 15:53:10 +01:00
if (THEORIES)
set(SAMPLES ${SAMPLES} theories_regression.c)
if (CMAKE_CXX_COMPILER_WORKS)
set(SAMPLES ${SAMPLES} theories_regression.cc)
endif ()
endif ()
2015-09-09 01:47:10 +02:00
add_samples("${CMAKE_CURRENT_LIST_DIR}" "${SAMPLES}")