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