1PROJECT(DEVMGR) 2 3spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB) 4 5include_directories( 6 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/dll 7 includes) 8 9list(APPEND SOURCE 10 precomp.h 11 api.cpp 12 properties/advprop.cpp 13 properties/devprblm.cpp 14 properties/hwpage.cpp 15 properties/hwresource.cpp 16 properties/misc.cpp 17 devmgmt/ClassNode.cpp 18 devmgmt/DeviceNode.cpp 19 devmgmt/DeviceView.cpp 20 devmgmt/MainWindow.cpp 21 devmgmt/Node.cpp 22 devmgmt/RootNode.cpp) 23 24add_library(devmgr MODULE 25 ${SOURCE} 26 devmgr.rc 27 ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def) 28 29set_module_type(devmgr win32dll UNICODE) 30target_link_libraries(devmgr uuid wine cpprt atl_classes) 31set_target_cpp_properties(devmgr WITH_EXCEPTIONS WITH_RTTI) 32add_importlibs(devmgr setupapi advapi32 shell32 newdev user32 gdi32 comctl32 version msvcrt kernel32 ole32 oleaut32 uxtheme ntdll) 33add_pch(devmgr precomp.h SOURCE) 34add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all) 35