2012-10-01 14:26:27 +02:00
|
|
|
# UNIT TESTS
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h
|
|
|
|
${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
|
|
|
|
)
|
|
|
|
|
2012-11-27 10:11:16 +01:00
|
|
|
add_executable(testempty0 testempty0.c)
|
2012-10-01 14:26:27 +02:00
|
|
|
add_executable(testempty1 testempty1.c)
|
|
|
|
add_executable(testempty2 testempty2.c)
|
2012-11-27 10:11:16 +01:00
|
|
|
|
|
|
|
target_link_libraries(testempty0 openjp2)
|
2012-10-01 14:26:27 +02:00
|
|
|
target_link_libraries(testempty1 openjp2)
|
|
|
|
target_link_libraries(testempty2 openjp2)
|
|
|
|
|
2014-02-24 13:48:23 +01:00
|
|
|
add_test(NAME testempty0 COMMAND testempty0)
|
|
|
|
add_test(NAME testempty1 COMMAND testempty1)
|
|
|
|
add_test(NAME testempty2 COMMAND testempty2)
|