[CMAKE]
[reactos.git] / dll / cpl / sysdm / CMakeLists.txt
1
2 set_unicode()
3 set_rc_compiler()
4
5 spec2def(sysdm.cpl sysdm.spec)
6
7 list(APPEND SOURCE
8 advanced.c
9 environment.c
10 general.c
11 hardprof.c
12 hardware.c
13 licence.c
14 startrec.c
15 sysdm.c
16 userprofile.c
17 virtmem.c
18 sysdm.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
20
21 add_library(sysdm SHARED ${CMAKE_CURRENT_BINARY_DIR}/sysdm_precomp.h.gch ${SOURCE})
22
23 set_module_type(sysdm cpl)
24
25 add_importlibs(sysdm
26 msvcrt
27 advapi32
28 setupapi
29 user32
30 gdi32
31 comctl32
32 msimg32
33 shell32
34 shlwapi
35 ole32
36 powrprof
37 kernel32
38 ntdll)
39
40 add_pch(sysdm ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
41 add_cd_file(TARGET sysdm DESTINATION reactos/system32 FOR all)