diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-07-25 16:33:52 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-07-25 16:33:52 +0000 |
| commit | eea61ee5e4112c32ee5ebd3c49a2405c48a94a73 (patch) | |
| tree | 47f4148b6300aac0f0d13f52b0ed9f684bb655b4 /tests/CMakeLists.txt | |
| parent | ff6d246efdc410d89116ffd1b4015aa81fd46d33 (diff) | |
added non-regression tests for j2k_dump function and conformance data
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 003f2f17..5021dca1 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,6 +11,8 @@ INCLUDE_DIRECTORIES(${OPENJPEG_SOURCE_DIR}/libopenjpeg # First thing define the common source: SET(comparePGXimages_SRCS comparePGXimages.c ${OPENJPEG_SOURCE_DIR}/applications/codec/convert.c) +SET(compare_dump_files_SRCS compare_dump_files.c) + # If not getopt was found then add it to the exe: IF(DONT_HAVE_GETOPT) message("dont have getopt, we will add it") @@ -18,6 +20,11 @@ IF(DONT_HAVE_GETOPT) ${comparePGXimages_SRCS} ${OPENJPEG_SOURCE_DIR}/applications/common/getopt.c ) + + SET(compare_dump_files_SRCS + ${compare_dump_files_SRCS} + ${OPENJPEG_SOURCE_DIR}/applications/common/getopt.c + ) ENDIF(DONT_HAVE_GETOPT) ADD_EXECUTABLE(comparePGXimages ${comparePGXimages_SRCS}) @@ -26,6 +33,8 @@ TARGET_LINK_LIBRARIES(comparePGXimages ${OPENJPEG_LIBRARY_NAME} ${PNG_LIBNAME} ${TIFF_LIBNAME} ) + +ADD_EXECUTABLE(compare_dump_files ${compare_dump_files_SRCS}) # No image send to the dashboard if lib PNG is not available. IF(NOT HAVE_LIBPNG) |
