Merge my current work done on the kd++ branch:
[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 user32
22 version
23 msvcrt
24 kernel32
25 ntdll)
26
27 add_pch(devmgr precomp.h)
28 add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)