blob: 679e93986be78a4f7e5a3b80256653c81ff4247e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
SET(TESTS_FILES
gdimagepolygon0
gdimagepolygon1
gdimagepolygon2
gdimagepolygon3
)
FOREACH(test_name ${TESTS_FILES})
add_executable(${test_name} "${test_name}.c")
target_link_libraries (${test_name} gdTest)
add_test(NAME ${test_name} COMMAND ${test_name})
ENDFOREACH(test_name)
|