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