2011-05-16 13:12:07 +00:00
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
|
|
|
|
|
2014-09-25 23:44:28 +00:00
|
|
|
spec2def(umpnpmgr.dll umpnpmgr.spec ADD_IMPORTLIB)
|
2011-08-07 00:53:19 +00:00
|
|
|
|
2014-09-25 23:44:28 +00:00
|
|
|
add_library(umpnpmgr SHARED
|
2011-08-07 00:53:19 +00:00
|
|
|
umpnpmgr.c
|
|
|
|
umpnpmgr.rc
|
2014-09-25 23:44:28 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/umpnpmgr_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/umpnpmgr.def)
|
2011-08-07 00:53:19 +00:00
|
|
|
|
|
|
|
target_link_libraries(umpnpmgr
|
|
|
|
wdmguid
|
|
|
|
${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-09-25 23:44:28 +00:00
|
|
|
set_module_type(umpnpmgr win32dll UNICODE)
|
2014-06-08 18:10:04 +00:00
|
|
|
add_importlibs(umpnpmgr advapi32 rpcrt4 userenv shlwapi msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all)
|