d63a1830600c4bc4b3cfebaa950f812c6e427cc3
[reactos.git] / rostests / apitests / gdi32 / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3 include_directories(${REACTOS_SOURCE_DIR}/win32ss)
4
5 list(APPEND SOURCE
6 AddFontResource.c
7 AddFontResourceEx.c
8 BeginPath.c
9 CombineRgn.c
10 CombineTransform.c
11 CreateBitmap.c
12 CreateBitmapIndirect.c
13 CreateCompatibleDC.c
14 CreateDIBitmap.c
15 CreateDIBPatternBrush
16 CreateFont.c
17 CreateFontIndirect.c
18 CreateIconIndirect.c
19 CreatePen.c
20 CreateRectRgn.c
21 DPtoLP.c
22 EngAcquireSemaphore.c
23 EngCreateSemaphore.c
24 EngDeleteSemaphore.c
25 EngReleaseSemaphore.c
26 ExtCreatePen.c
27 GdiConvertBitmap.c
28 GdiConvertBrush.c
29 GdiConvertDC.c
30 GdiConvertFont.c
31 GdiConvertPalette.c
32 GdiConvertRegion.c
33 GdiDeleteLocalDC.c
34 GdiGetCharDimensions.c
35 GdiGetLocalBrush.c
36 GdiGetLocalDC.c
37 GdiReleaseLocalDC.c
38 GdiSetAttrs.c
39 GetClipRgn.c
40 GetCurrentObject.c
41 GetDIBColorTable.c
42 GetDIBits.c
43 GetObject.c
44 GetRandomRgn.c
45 GetPixel.c
46 GetStockObject.c
47 GetTextExtentExPoint.c
48 GetTextFace.c
49 MaskBlt.c
50 PatBlt.c
51 Rectangle.c
52 SelectObject.c
53 SetBrushOrgEx.c
54 SetDCPenColor.c
55 SetDIBits.c
56 SetDIBitsToDevice.c
57 SetMapMode.c
58 SetPixel.c
59 SetSysColors.c
60 SetWindowExtEx.c
61 SetWorldTransform.c
62 init.c
63 testlist.c)
64
65 if(NOT MSVC)
66 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
67 #allow_warnings(gdi32_apitest)
68 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
69 endif()
70
71 add_executable(gdi32_apitest ${SOURCE})
72 target_link_libraries(gdi32_apitest wine ${PSEH_LIB})
73 set_module_type(gdi32_apitest win32cui)
74 add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
75 add_cd_file(TARGET gdi32_apitest DESTINATION reactos/bin FOR all)