2015-10-15 17:21:37 +00:00
|
|
|
PROJECT(DEVMGR)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-10-15 17:21:37 +00:00
|
|
|
set_cpp(WITH_RTTI WITH_RUNTIME WITH_EXCEPTIONS)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
# HACK: this should be enabled globally!
|
|
|
|
add_compile_flags_language("-std=c++11" "CXX")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/dll
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/atl
|
2015-10-15 17:21:37 +00:00
|
|
|
includes)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
2015-09-24 07:30:08 +00:00
|
|
|
precomp.h
|
2015-10-15 17:21:37 +00:00
|
|
|
api.cpp
|
|
|
|
properties/advprop.cpp
|
|
|
|
properties/devprblm.cpp
|
|
|
|
properties/hwpage.cpp
|
|
|
|
properties/hwresource.cpp
|
|
|
|
properties/misc.cpp
|
|
|
|
devmgmt/ClassNode.cpp
|
|
|
|
devmgmt/DeviceNode.cpp
|
|
|
|
devmgmt/DeviceView.cpp
|
|
|
|
devmgmt/MainWindow.cpp
|
|
|
|
devmgmt/Node.cpp
|
|
|
|
devmgmt/RootNode.cpp)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(devmgr SHARED
|
|
|
|
${SOURCE}
|
|
|
|
devmgr.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(devmgr win32dll UNICODE)
|
2015-10-15 17:21:37 +00:00
|
|
|
target_link_libraries(devmgr uuid atlnew wine)
|
2016-04-10 16:53:00 +00:00
|
|
|
add_importlibs(devmgr setupapi advapi32 newdev user32 gdi32 comctl32 version msvcrt kernel32 ole32 oleaut32 uxtheme ntdll)
|
2015-09-24 07:30:08 +00:00
|
|
|
add_pch(devmgr precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)
|