reactos/rostests/winetests/gdi32/CMakeLists.txt

36 lines
775 B
CMake
Raw Normal View History

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)