cvs: gd /libgd/examples CMakeLists.txt

From: Date: Thu, 17 Apr 2008 17:03:45 +0000
Subject: cvs: gd /libgd/examples CMakeLists.txt
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-458@lists.php.net to get a copy of this message
pajoye Thu Apr 17 17:03:45 2008 UTC Modified files: /gd/libgd/examples CMakeLists.txt Log: - add "win32" flag for the windows GUI example http://cvs.php.net/viewvc.cgi/gd/libgd/examples/CMakeLists.txt?r1=1.10&r2=1.11&diff_format=u Index: gd/libgd/examples/CMakeLists.txt diff -u gd/libgd/examples/CMakeLists.txt:1.10 gd/libgd/examples/CMakeLists.txt:1.11 --- gd/libgd/examples/CMakeLists.txt:1.10 Fri Mar 14 21:40:33 2008 +++ gd/libgd/examples/CMakeLists.txt Thu Apr 17 17:03:45 2008 @@ -18,12 +18,6 @@ gif ) -if (WIN32) - SET(TESTS_FILES - "${TESTS_FILES}" - windows - ) -endif (WIN32) if (JPEG_FOUND) SET(TESTS_FILES "${TESTS_FILES}" @@ -43,3 +37,8 @@ add_executable(${test_name} "${test_name}.c") target_link_libraries (${test_name} ${GD_LIB}) ENDFOREACH(test_name) + +if (WIN32) + add_executable(windows WIN32 "windows.c") + target_link_libraries (${test_name} ${GD_LIB}) +endif (WIN32)

« previous php.gd.cvs (#458) next »