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