1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl) 3add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/pnp.idl) 4spec2def(umpnpmgr.dll umpnpmgr.spec ADD_IMPORTLIB) 5 6add_library(umpnpmgr MODULE 7 install.c 8 rpcserver.c 9 umpnpmgr.c 10 umpnpmgr.rc 11 ${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c 12 ${CMAKE_CURRENT_BINARY_DIR}/umpnpmgr_stubs.c 13 ${CMAKE_CURRENT_BINARY_DIR}/umpnpmgr.def) 14 15target_link_libraries(umpnpmgr wdmguid ${PSEH_LIB}) 16set_module_type(umpnpmgr win32dll UNICODE) 17add_importlibs(umpnpmgr advapi32 rpcrt4 userenv shlwapi msvcrt user32 kernel32 ntdll) 18add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all) 19