780aa0f32d6dbeead9415b4300f35a19e15f1d44
[reactos.git] / dll / cpl / sysdm / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(sysdm ${CMAKE_CURRENT_SOURCE_DIR}/sysdm.spec ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
5
6 list(APPEND SOURCE
7 advanced.c
8 environment.c
9 general.c
10 hardprof.c
11 hardware.c
12 licence.c
13 startrec.c
14 sysdm.c
15 userprofile.c
16 virtmem.c
17 sysdm.rc)
18
19 add_library(sysdm SHARED ${CMAKE_CURRENT_BINARY_DIR}/sysdm_precomp.h.gch ${SOURCE})
20
21 set_module_type(sysdm cpl)
22
23 target_link_libraries(sysdm ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
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
39 add_pch(sysdm ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
40 add_dependencies(sysdm sysdm_def)