2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(sysdm.cpl sysdm.spec)
|
|
|
|
|
2018-08-16 19:31:03 +00:00
|
|
|
include_directories(
|
2018-11-21 21:07:54 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp)
|
2018-08-16 19:31:03 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
advanced.c
|
|
|
|
environment.c
|
|
|
|
general.c
|
|
|
|
hardprof.c
|
|
|
|
hardware.c
|
|
|
|
licence.c
|
2018-08-16 19:31:03 +00:00
|
|
|
smbios.c
|
2011-05-16 13:12:07 +00:00
|
|
|
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})
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(sysdm MODULE
|
2014-02-09 12:26:28 +00:00
|
|
|
${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)
|
2018-08-16 19:31:03 +00:00
|
|
|
target_link_libraries(sysdm udmihelp)
|
2021-12-22 23:37:21 +00:00
|
|
|
add_importlibs(sysdm advapi32 setupapi user32 gdi32 comctl32 comdlg32 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)
|