a8eb3fe7b6d9a17dad3e34edf2247a452723d527
[reactos.git] / dll / cpl / desk / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_WIN32)
5 add_definitions(-D_DLL -D__USE_CRTIMP)
6
7 spec2def(desk ${CMAKE_CURRENT_SOURCE_DIR}/desk.spec ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
8
9 add_library(desk SHARED
10 advmon.c
11 appearance.c
12 background.c
13 classinst.c
14 desk.c
15 devsett.c
16 dibitmap.c
17 misc.c
18 preview.c
19 screensaver.c
20 advappdlg.c
21 effappdlg.c
22 settings.c
23 monslctl.c
24 general.c
25 desk.rc
26 draw.c
27 theme.c)
28
29 set_module_type(desk cpl)
30
31 target_link_libraries(desk ${CMAKE_CURRENT_BINARY_DIR}/desk.def uuid)
32
33 add_importlibs(desk
34 msvcrt
35 user32
36 advapi32
37 gdi32
38 comctl32
39 comdlg32
40 ole32
41 setupapi
42 shell32
43 msimg32
44 kernel32
45 ntdll)
46
47 add_dependencies(desk desk_def)
48 add_cab_target(desk 1)