mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 23:28:58 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
* Don't define __WINESRC__ (just yet). * Don't define __ROS_LONG64__ twice. svn path=/trunk/; revision=61198
32 lines
717 B
CMake
32 lines
717 B
CMake
|
|
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)
|