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