xref: /reactos/dll/cpl/desk/CMakeLists.txt (revision c3483339)
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    desk.h)
25
26file(GLOB desk_rc_deps resources/*.*)
27add_rc_deps(desk.rc ${desk_rc_deps})
28
29add_library(desk SHARED
30    ${SOURCE}
31    guid.c
32    desk.rc
33    ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
34
35set_module_type(desk cpl UNICODE)
36target_link_libraries(desk uuid)
37add_importlibs(desk user32 advapi32 gdi32 comctl32 comdlg32 ole32 setupapi shell32 shlwapi uxtheme gdiplus msvcrt kernel32 ntdll)
38add_pch(desk desk.h SOURCE)
39add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
40