[CMAKE]
[reactos.git] / dll / win32 / gdi32 / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5 add_definitions(-DLANGPACK)
6
7 include_directories(include)
8
9 list(APPEND SOURCE
10 main/dllmain.c
11 misc/heap.c
12 misc/gdientry.c
13 misc/hacks.c
14 misc/historic.c
15 misc/misc.c
16 misc/stubs.c
17 misc/stubsa.c
18 misc/stubsw.c
19 misc/wingl.c
20 objects/arc.c
21 objects/bitmap.c
22 objects/brush.c
23 objects/coord.c
24 objects/dc.c
25 objects/eng.c
26 objects/enhmfile.c
27 objects/font.c
28 objects/icm.c
29 objects/linedda.c
30 objects/metafile.c
31 objects/painting.c
32 objects/printdrv.c
33 objects/palette.c
34 objects/pen.c
35 objects/region.c
36 objects/text.c
37 objects/utils.c
38 objects/path.c
39 gdi32.rc)
40
41 add_library(gdi32 SHARED
42 ${CMAKE_CURRENT_BINARY_DIR}/gdi32_precomp.h.gch
43 ${SOURCE})
44
45 set_module_type(gdi32 win32dll)
46
47 target_link_libraries(gdi32
48 ${CMAKE_CURRENT_SOURCE_DIR}/gdi32.def
49 win32ksys
50 dxguid
51 pseh)
52
53 add_importlibs(gdi32 user32 advapi32 kernel32 ntdll)
54 add_pch(gdi32 ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
55 add_cab_target(gdi32 1)