libgd/examples/CMakeLists.txt
pajoye f67452e1f8 - #136 add crop image support
- gdImageCrop, gdImageAutoCrop and gdImageThresholdCrop
 - add gdRect struct to define a rectangle area at position (x,y) with
   a given width and height
2007-12-12 15:56:03 +00:00

15 lines
273 B
CMake

include_directories (BEFORE ${GD_SOURCE_DIR}/src "${CMAKE_BINARY_DIR}")
SET(TESTS_FILES
tiffread
tgaread
crop
)
FOREACH(test_name ${TESTS_FILES})
add_executable(${test_name} "${test_name}.c")
target_link_libraries (${test_name} ${GD_LIB})
ENDFOREACH(test_name)