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)
|
|
|
|
|
2018-08-16 14:10:41 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
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
|
2014-02-09 12:26:28 +00:00
|
|
|
desk.h)
|
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB desk_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(desk.rc ${desk_rc_deps})
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_library(desk SHARED
|
|
|
|
${SOURCE}
|
2015-02-25 13:24:13 +00:00
|
|
|
guid.c
|
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-08-16 14:10:41 +00:00
|
|
|
add_importlibs(desk user32 advapi32 advapi32_vista gdi32 comctl32 comdlg32 ole32 setupapi shell32 shlwapi uxtheme gdiplus msvcrt 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)
|