CMakeLists.txt 944 Bytes
Newer Older
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
1
add_library(check_aec STATIC check_aec.c)
2

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
3 4 5 6 7 8 9 10 11 12 13 14 15
add_executable(check_code_options check_code_options.c)
target_link_libraries(check_code_options check_aec aec)
add_test(NAME check_code_options COMMAND check_code_options)
add_executable(check_buffer_sizes check_buffer_sizes.c)
target_link_libraries(check_buffer_sizes check_aec aec)
add_test(NAME check_buffer_sizes COMMAND check_buffer_sizes)
add_executable(check_long_fs check_long_fs.c)
target_link_libraries(check_long_fs check_aec aec)
add_test(NAME check_long_fs COMMAND check_long_fs)
add_executable(check_szcomp check_szcomp.c)
target_link_libraries(check_szcomp check_aec sz)
add_test(NAME check_szcomp
  COMMAND check_szcomp ${PROJECT_SOURCE_DIR}/data/121B2TestData/ExtendedParameters/sar32bit.dat)
16

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
17 18
if(UNIX)
  add_test(
19 20
    NAME sampledata.sh
    COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sampledata.sh ${CMAKE_CURRENT_SOURCE_DIR}
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
21 22
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif(UNIX)