2014-07-23 18:00:36 +00:00
|
|
|
|
|
|
|
project(SHELL)
|
|
|
|
|
|
|
|
spec2def(stobject.dll stobject.spec)
|
|
|
|
|
2015-09-27 18:37:23 +00:00
|
|
|
file(GLOB_RECURSE stobject_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(stobject.rc ${stobject_rc_deps})
|
|
|
|
|
2017-12-08 22:15:31 +00:00
|
|
|
list(APPEND SOURCE
|
2014-07-30 22:08:05 +00:00
|
|
|
csystray.cpp
|
2014-07-23 18:00:36 +00:00
|
|
|
stobject.cpp
|
2017-08-18 14:49:11 +00:00
|
|
|
hotplug.cpp
|
2022-06-18 19:24:41 +00:00
|
|
|
mouse.cpp
|
2017-03-23 19:51:53 +00:00
|
|
|
power.cpp
|
2014-07-28 13:18:57 +00:00
|
|
|
volume.cpp
|
2017-12-08 22:15:31 +00:00
|
|
|
precomp.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(stobject MODULE
|
2017-12-08 22:15:31 +00:00
|
|
|
${SOURCE}
|
|
|
|
stobject.rc
|
2014-07-23 18:00:36 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/stobject.def)
|
|
|
|
|
|
|
|
set_module_type(stobject win32dll UNICODE)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(stobject uuid wine cpprt atl_classes)
|
2014-07-23 18:00:36 +00:00
|
|
|
|
|
|
|
add_importlibs(stobject
|
2017-10-16 14:11:10 +00:00
|
|
|
setupapi
|
2014-07-23 18:00:36 +00:00
|
|
|
advapi32
|
2014-07-28 13:18:57 +00:00
|
|
|
winmm
|
|
|
|
ole32
|
2016-04-10 16:53:00 +00:00
|
|
|
oleaut32
|
2017-03-25 13:35:41 +00:00
|
|
|
powrprof
|
2014-07-23 18:00:36 +00:00
|
|
|
shlwapi
|
2014-07-28 13:18:57 +00:00
|
|
|
shell32
|
|
|
|
comctl32
|
2014-07-23 18:00:36 +00:00
|
|
|
msvcrt
|
2014-07-28 13:18:57 +00:00
|
|
|
gdi32
|
|
|
|
user32
|
2014-07-23 18:00:36 +00:00
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2017-12-08 22:15:31 +00:00
|
|
|
add_pch(stobject precomp.h SOURCE)
|
2014-07-23 18:00:36 +00:00
|
|
|
add_cd_file(TARGET stobject DESTINATION reactos/system32 FOR all)
|