[UMPNPMGR]
[reactos.git] / reactos / base / services / umpnpmgr / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
3
4 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
5
6 spec2def(umpnpmgr.dll umpnpmgr.spec ADD_IMPORTLIB)
7
8 add_library(umpnpmgr SHARED
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
15 target_link_libraries(umpnpmgr
16 wdmguid
17 ${PSEH_LIB})
18
19 set_module_type(umpnpmgr win32dll UNICODE)
20 add_importlibs(umpnpmgr advapi32 rpcrt4 userenv shlwapi msvcrt kernel32 ntdll)
21 add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all)