diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-01 12:26:27 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-01 12:26:27 +0000 |
| commit | fe6d9ed9ba8c63c13cb4fabd6e8d43c1312beaa8 (patch) | |
| tree | de118abc6311a7f2adf5a65cccc069c2b2e3ed23 /tests/unit/CMakeLists.txt | |
| parent | c450d418efd9a232d14b7df54e4f07e00bdeae8f (diff) | |
[trunk] import unit testing from 1.5.x branch
Diffstat (limited to 'tests/unit/CMakeLists.txt')
| -rw-r--r-- | tests/unit/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt new file mode 100644 index 00000000..984cedc3 --- /dev/null +++ b/tests/unit/CMakeLists.txt @@ -0,0 +1,14 @@ +# UNIT TESTS + +include_directories( + ${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h + ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2 +) + +add_executable(testempty1 testempty1.c) +add_executable(testempty2 testempty2.c) +target_link_libraries(testempty1 openjp2) +target_link_libraries(testempty2 openjp2) + +add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1) +add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2) |
