xref: /reactos/dll/cpl/desk/CMakeLists.txt (revision 40462c92)
1
2add_definitions(-D_WIN32)
3spec2def(desk.cpl desk.spec)
4
5list(APPEND SOURCE
6    advmon.c
7    appearance.c
8    background.c
9    classinst.c
10    desk.c
11    devsett.c
12    dibitmap.c
13    misc.c
14    preview.c
15    screensaver.c
16    advappdlg.c
17    effappdlg.c
18    settings.c
19    monslctl.c
20    general.c
21    draw.c
22    theme.c
23    muireg.c)
24
25list(APPEND PCH_SKIP_SOURCE
26    guid.c)
27
28file(GLOB desk_rc_deps resources/*.*)
29add_rc_deps(desk.rc ${desk_rc_deps})
30
31add_library(desk MODULE
32    ${SOURCE}
33    ${PCH_SKIP_SOURCE}
34    desk.rc
35    ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
36
37set_module_type(desk cpl UNICODE)
38target_link_libraries(desk uuid)
39add_importlibs(desk user32 advapi32 gdi32 comctl32 comdlg32 ole32 setupapi shell32 shlwapi uxtheme gdiplus msvcrt kernel32 ntdll)
40add_pch(desk desk.h "${PCH_SKIP_SOURCE}")
41add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
42