mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
36 lines
775 B
CMake
36 lines
775 B
CMake
|
|
add_definitions(
|
|
-D__ROS_LONG64__
|
|
-D__WINESRC__)
|
|
|
|
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
|
|
|
list(APPEND SOURCE
|
|
bitmap.c
|
|
brush.c
|
|
clipping.c
|
|
dc.c
|
|
dib.c
|
|
font.c
|
|
gdiobj.c
|
|
generated.c
|
|
icm.c
|
|
mapping.c
|
|
metafile.c
|
|
palette.c
|
|
path.c
|
|
pen.c
|
|
testlist.c)
|
|
|
|
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)
|