[CMAKE]
[reactos.git] / dll / win32 / devmgr / CMakeLists.txt
1
2 set_unicode()
3 set_rc_compiler()
4
5 spec2def(devmgr.dll devmgr.spec)
6
7 list(APPEND SOURCE
8 devmgr.rc
9 advprop.c
10 devprblm.c
11 hwpage.c
12 misc.c
13 stubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/devmgr_stubs.c
15 ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
16
17 add_library(devmgr SHARED ${CMAKE_CURRENT_BINARY_DIR}/devmgr_precomp.h.gch ${SOURCE})
18
19 set_module_type(devmgr win32dll)
20
21 target_link_libraries(devmgr uuid wine)
22
23 add_importlibs(devmgr
24 setupapi
25 advapi32
26 user32
27 version
28 msvcrt
29 kernel32
30 ntdll)
31
32 add_pch(devmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
33
34 add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)
35 add_importlib_target(devmgr.spec)