[DEVMGR]
[reactos.git] / reactos / dll / win32 / devmgr_new / CMakeLists.txt
1
2 spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB)
3
4 set_cpp(WITH_RTTI WITH_STL)
5
6 include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
7
8 list(APPEND SOURCE
9 precomp.h
10 Properties/advprop.c
11 Properties/devprblm.c
12 Properties/hwpage.c
13 Properties/hwresource.c
14 Properties/misc.c
15 Properties/stubs.c
16 devmgmt/ClassNode.cpp
17 devmgmt/DeviceNode.cpp
18 devmgmt/DeviceView.cpp
19 devmgmt/MainWindow.cpp
20 devmgmt/Node.cpp
21 devmgmt/RootNode.cpp
22 ${CMAKE_CURRENT_BINARY_DIR}/devmgr_stubs.c)
23
24 add_library(devmgr SHARED
25 ${SOURCE}
26 devmgr.rc
27 ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
28
29 set_module_type(devmgr win32dll UNICODE)
30 target_link_libraries(devmgr uuid atlnew wine)
31 add_importlibs(devmgr setupapi advapi32 newdev user32 gdi32 comctl32 version msvcrt kernel32 ole32 uxtheme ntdll)
32 add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)