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
|
|
|
|
devsett.c
|
|
|
|
dibitmap.c
|
|
|
|
misc.c
|
|
|
|
preview.c
|
|
|
|
screensaver.c
|
|
|
|
advappdlg.c
|
|
|
|
effappdlg.c
|
|
|
|
settings.c
|
|
|
|
monslctl.c
|
|
|
|
general.c
|
|
|
|
draw.c
|
|
|
|
theme.c
|
2013-04-21 14:36:57 +00:00
|
|
|
muireg.c
|
2014-02-09 12:26:28 +00:00
|
|
|
desk.h)
|
|
|
|
|
|
|
|
add_library(desk SHARED
|
|
|
|
${SOURCE}
|
|
|
|
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)
|
|
|
|
|
|
|
|
add_importlibs(desk
|
|
|
|
msvcrt
|
|
|
|
user32
|
|
|
|
advapi32
|
|
|
|
gdi32
|
|
|
|
comctl32
|
|
|
|
comdlg32
|
|
|
|
ole32
|
|
|
|
setupapi
|
|
|
|
shell32
|
2013-04-21 14:36:57 +00:00
|
|
|
shlwapi
|
2011-09-19 13:39:05 +00:00
|
|
|
uxtheme
|
2011-05-16 13:12:07 +00:00
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(desk desk.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
|