[b2.x.x] backport into 2.x.x the rev 2241 of trunk

This commit is contained in:
Mickael Savinaud 2013-02-02 17:14:26 +00:00
parent 55146418d5
commit 69a8bc8960
2 changed files with 7 additions and 0 deletions

View File

@ -5,10 +5,14 @@ include_directories(
${OPENJPEG_SOURCE_DIR}/src/lib/openjp2 ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
) )
add_executable(testempty0 testempty0.c)
add_executable(testempty1 testempty1.c) add_executable(testempty1 testempty1.c)
add_executable(testempty2 testempty2.c) add_executable(testempty2 testempty2.c)
target_link_libraries(testempty0 openjp2)
target_link_libraries(testempty1 openjp2) target_link_libraries(testempty1 openjp2)
target_link_libraries(testempty2 openjp2) target_link_libraries(testempty2 openjp2)
add_test(testempty0 ${EXECUTABLE_OUTPUT_PATH}/testempty0)
add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1) add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1)
add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2) add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2)

3
tests/unit/testempty0.c Normal file
View File

@ -0,0 +1,3 @@
#include <openjpeg.h>
int main(int argc, char **argv) { return 0; }