reactos/dll/cpl/sysdm/CMakeLists.txt

34 lines
772 B
Text
Raw Normal View History

spec2def(sysdm.cpl sysdm.spec)
2018-08-16 19:31:03 +00:00
include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp)
2018-08-16 19:31:03 +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
startrec.c
sysdm.c
userprofile.c
virtmem.c
precomp.h)
file(GLOB sysdm_rc_deps resources/*.*)
add_rc_deps(sysdm.rc ${sysdm_rc_deps})
add_library(sysdm MODULE
${SOURCE}
sysdm.rc
${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
set_module_type(sysdm cpl UNICODE)
2018-08-16 19:31:03 +00:00
target_link_libraries(sysdm udmihelp)
add_importlibs(sysdm advapi32 setupapi user32 gdi32 comctl32 comdlg32 msimg32 shell32 shlwapi ole32 powrprof msvcrt kernel32 ntdll)
add_pch(sysdm precomp.h SOURCE)
add_cd_file(TARGET sysdm DESTINATION reactos/system32 FOR all)