2011-05-16 13:12:07 +00:00
|
|
|
|
2011-06-13 15:31:11 +00:00
|
|
|
add_definitions(-D_WIN32)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(desk.cpl desk.spec)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
advmon.c
|
|
|
|
appearance.c
|
|
|
|
background.c
|
|
|
|
classinst.c
|
|
|
|
desk.c
|
2018-04-14 23:04:48 +00:00
|
|
|
desktop.c
|
2011-05-16 13:12:07 +00:00
|
|
|
devsett.c
|
|
|
|
dibitmap.c
|
|
|
|
misc.c
|
|
|
|
preview.c
|
|
|
|
screensaver.c
|
|
|
|
advappdlg.c
|
|
|
|
effappdlg.c
|
|
|
|
settings.c
|
|
|
|
monslctl.c
|
|
|
|
general.c
|
|
|
|
draw.c
|
|
|
|
theme.c
|
2020-05-09 21:37:40 +00:00
|
|
|
muireg.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2014-02-09 12:26:28 +00:00
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB desk_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(desk.rc ${desk_rc_deps})
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(desk MODULE
|
2014-02-09 12:26:28 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-09 12:26:28 +00:00
|
|
|
desk.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/desk.def)
|
|
|
|
|
2011-09-19 13:24:48 +00:00
|
|
|
set_module_type(desk cpl UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(desk uuid)
|
2018-12-17 21:01:49 +00:00
|
|
|
add_importlibs(desk user32 advapi32 gdi32 comctl32 comdlg32 ole32 setupapi shell32 shlwapi uxtheme gdiplus msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(desk desk.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
|