[NTDLL_APITEST] Add ProcessWx86Information testcase for NtXxxInformationProcess ...
[reactos.git] / win32ss / gdi / gdi32 / CMakeLists.txt
1
2 add_subdirectory(wine)
3
4 add_definitions(-DLANGPACK)
5
6 include_directories(
7 include
8 ${REACTOS_SOURCE_DIR}/win32ss/include)
9
10 add_definitions(-DLANGPACK)
11 spec2def(gdi32.dll gdi32.spec ADD_IMPORTLIB)
12
13 if(ARCH STREQUAL "i386")
14 list(APPEND SOURCE objects/efloat.c)
15 endif()
16
17 list(APPEND SOURCE
18 main/dllmain.c
19 misc/heap.c
20 misc/gdientry.c
21 misc/historic.c
22 misc/misc.c
23 misc/wingl.c
24 objects/arc.c
25 objects/bitmap.c
26 objects/brush.c
27 objects/clientobj.c
28 objects/colorspace.c
29 objects/coord.c
30 objects/dc.c
31 objects/eng.c
32 objects/enhmfile.c
33 objects/font.c
34 objects/gdiobj.c
35 objects/icm.c
36 objects/linedda.c
37 objects/metafile.c
38 objects/painting.c
39 objects/printdrv.c
40 objects/palette.c
41 objects/pen.c
42 objects/region.c
43 objects/text.c
44 objects/utils.c
45 objects/path.c
46 include/precomp.h)
47
48 add_library(gdi32 MODULE
49 ${SOURCE}
50 gdi32.rc
51 ${CMAKE_CURRENT_BINARY_DIR}/gdi32.def)
52
53 set_module_type(gdi32
54 win32dll
55 ENTRYPOINT DllMain 12
56 UNICODE)
57
58 target_link_libraries(gdi32
59 winegdi
60 wine
61 win32ksys
62 dxguid
63 msvcrtex
64 atan2
65 ${PSEH_LIB})
66
67 add_importlibs(gdi32 user32 advapi32 kernel32 ntdll)
68 add_pch(gdi32 include/precomp.h SOURCE)
69 add_dependencies(gdi32 psdk)
70 add_cd_file(TARGET gdi32 DESTINATION reactos/system32 FOR all)