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