[GDI32_APITEST]

* Fix GCC warnings.
* Enable -Werror again.
* Remove redundant test header inclusion.
* Speedup linking.

svn path=/trunk/; revision=60347
This commit is contained in:
Amine Khaldi 2013-09-23 21:54:01 +00:00
parent 61db23d804
commit 655b467d9a
2 changed files with 3 additions and 11 deletions

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer
*/
#include <stdio.h>
#include <apitest.h>
#include <wine/test.h>
#include <wingdi.h>
#define COUNT 26

View file

@ -1,5 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/win32ss)
list(APPEND SOURCE
@ -62,14 +61,8 @@ list(APPEND SOURCE
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})
target_link_libraries(gdi32_apitest ${PSEH_LIB})
set_module_type(gdi32_apitest win32cui)
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32)
add_cd_file(TARGET gdi32_apitest DESTINATION reactos/bin FOR all)