2010-12-07 09:27:10 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__ROS_LONG64__
|
2013-03-16 15:01:33 +00:00
|
|
|
-D__WINESRC__)
|
2010-12-07 09:27:10 +00:00
|
|
|
|
2011-09-04 11:31:17 +00:00
|
|
|
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
|
|
|
|
2010-12-07 09:27:10 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
bitmap.c
|
|
|
|
brush.c
|
|
|
|
clipping.c
|
|
|
|
dc.c
|
2011-10-03 09:26:08 +00:00
|
|
|
dib.c
|
|
|
|
font.c
|
2010-12-07 09:27:10 +00:00
|
|
|
gdiobj.c
|
|
|
|
generated.c
|
|
|
|
icm.c
|
|
|
|
mapping.c
|
|
|
|
metafile.c
|
|
|
|
palette.c
|
|
|
|
path.c
|
|
|
|
pen.c
|
2012-03-12 13:34:01 +00:00
|
|
|
testlist.c)
|
|
|
|
|
2013-03-16 15:01:33 +00:00
|
|
|
add_executable(gdi32_winetest ${SOURCE} resource.rc)
|
2010-12-07 09:27:10 +00:00
|
|
|
|
2012-03-12 13:34:01 +00:00
|
|
|
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()
|
|
|
|
|
2010-12-07 09:27:10 +00:00
|
|
|
set_module_type(gdi32_winetest win32cui)
|
|
|
|
add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32 ntdll)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET gdi32_winetest DESTINATION reactos/bin FOR all)
|