blob: 09a226780774c1218d62bb3e236c99866fe89a20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
SET(TESTS_FILES
gdimageopenpolygon0
gdimageopenpolygon1
gdimageopenpolygon2
gdimageopenpolygon3
)
FOREACH(test_name ${TESTS_FILES})
add_executable(${test_name} "${test_name}.c")
target_link_libraries (${test_name} gdTest)
get_target_property(test_path ${test_name} LOCATION)
ADD_TEST(${test_name} ${test_path})
ENDFOREACH(test_name)
|