1 2spec2def(sysdm.cpl sysdm.spec) 3 4list(APPEND SOURCE 5 advanced.c 6 environment.c 7 general.c 8 hardprof.c 9 hardware.c 10 licence.c 11 startrec.c 12 sysdm.c 13 userprofile.c 14 virtmem.c 15 precomp.h) 16 17file(GLOB sysdm_rc_deps resources/*.*) 18add_rc_deps(sysdm.rc ${sysdm_rc_deps}) 19 20add_library(sysdm SHARED 21 ${SOURCE} 22 sysdm.rc 23 ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def) 24 25set_module_type(sysdm cpl UNICODE) 26add_importlibs(sysdm advapi32 setupapi user32 gdi32 comctl32 msimg32 shell32 shlwapi ole32 powrprof msvcrt kernel32 ntdll) 27add_pch(sysdm precomp.h SOURCE) 28add_cd_file(TARGET sysdm DESTINATION reactos/system32 FOR all) 29