2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(sysdm.cpl sysdm.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
advanced.c
|
|
|
|
environment.c
|
|
|
|
general.c
|
|
|
|
hardprof.c
|
|
|
|
hardware.c
|
|
|
|
licence.c
|
|
|
|
startrec.c
|
|
|
|
sysdm.c
|
|
|
|
userprofile.c
|
|
|
|
virtmem.c
|
2014-02-09 12:26:28 +00:00
|
|
|
precomp.h)
|
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB sysdm_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(sysdm.rc ${sysdm_rc_deps})
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_library(sysdm SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
sysdm.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(sysdm cpl UNICODE)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(sysdm advapi32 setupapi user32 gdi32 comctl32 msimg32 shell32 shlwapi ole32 powrprof msvcrt kernel32 ntdll)
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(sysdm precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET sysdm DESTINATION reactos/system32 FOR all)
|