[WINETESTS]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 19 Dec 2013 21:30:10 +0000 (21:30 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 19 Dec 2013 21:30:10 +0000 (21:30 +0000)
- Do not suppress nonexistent warnings

svn path=/trunk/; revision=61302

rostests/winetests/gdi32/CMakeLists.txt
rostests/winetests/kernel32/CMakeLists.txt
rostests/winetests/user32/CMakeLists.txt

index 1ec4362..90dede3 100644 (file)
@@ -20,12 +20,6 @@ list(APPEND SOURCE
 
 add_executable(gdi32_winetest ${SOURCE} resource.rc)
 
-if(NOT MSVC)
-    # FIXME: http://www.cmake.org/Bug/view.php?id=12998
-    #allow_warnings(gdi32_winetest)
-    set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
-endif()
-
 set_module_type(gdi32_winetest win32cui)
 add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET gdi32_winetest DESTINATION reactos/bin FOR all)
index 8ada336..71a661f 100644 (file)
@@ -50,11 +50,4 @@ target_link_libraries(kernel32_winetest wine)
 set_module_type(kernel32_winetest win32cui)
 add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll)
 
-if(NOT MSVC)
-    # FIXME: http://www.cmake.org/Bug/view.php?id=12998
-    #add_target_compile_flags(kernel32_winetest "-Wno-format")
-    #allow_warnings(kernel32_winetest)
-    set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format -Wno-error")
-endif()
-
 add_cd_file(TARGET kernel32_winetest DESTINATION reactos/bin FOR all)
index 0d22f12..7759513 100644 (file)
@@ -30,10 +30,3 @@ add_executable(user32_winetest ${SOURCE} resource.rc)
 set_module_type(user32_winetest win32cui)
 add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32)
 add_cd_file(TARGET user32_winetest DESTINATION reactos/bin FOR all)
-
-if(NOT MSVC)
-    # FIXME: http://www.cmake.org/Bug/view.php?id=12998
-    #add_target_compile_flags(user32_winetest "-Wno-format")
-    #allow_warnings(user32_winetest)
-    set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format")
-endif()