1 2project(SHELL) 3 4spec2def(stobject.dll stobject.spec) 5 6file(GLOB_RECURSE stobject_rc_deps resources/*.*) 7add_rc_deps(stobject.rc ${stobject_rc_deps}) 8 9list(APPEND SOURCE 10 csystray.cpp 11 stobject.cpp 12 hotplug.cpp 13 power.cpp 14 volume.cpp 15 precomp.h) 16 17add_library(stobject MODULE 18 ${SOURCE} 19 stobject.rc 20 ${CMAKE_CURRENT_BINARY_DIR}/stobject.def) 21 22set_module_type(stobject win32dll UNICODE) 23target_link_libraries(stobject uuid wine cpprt atl_classes) 24 25add_importlibs(stobject 26 setupapi 27 advapi32 28 winmm 29 ole32 30 oleaut32 31 powrprof 32 shlwapi 33 shell32 34 comctl32 35 msvcrt 36 gdi32 37 user32 38 kernel32 39 ntdll) 40 41add_pch(stobject precomp.h SOURCE) 42add_cd_file(TARGET stobject DESTINATION reactos/system32 FOR all) 43