Author: akhaldi
Date: Sun Jul 29 02:44:53 2012
New Revision: 56978
URL:
http://svn.reactos.org/svn/reactos?rev=56978&view=rev
Log:
[GDI32_APITESTS]
* Allow warnings when compiling with gcc.
Modified:
trunk/rostests/apitests/gdi32/CMakeLists.txt
Modified: trunk/rostests/apitests/gdi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32/CMakeLists…
==============================================================================
--- trunk/rostests/apitests/gdi32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/apitests/gdi32/CMakeLists.txt [iso-8859-1] Sun Jul 29 02:44:53 2012
@@ -61,6 +61,12 @@
init.c
testlist.c)
+if(NOT MSVC)
+ # FIXME:
http://www.cmake.org/Bug/view.php?id=12998
+ #allow_warnings(gdi32_apitest)
+ set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS
"-Wno-error")
+endif()
+
add_executable(gdi32_apitest ${SOURCE})
target_link_libraries(gdi32_apitest wine ${PSEH_LIB})
set_module_type(gdi32_apitest win32cui)