* Sync to trunk HEAD (r53298).
[reactos.git] / base / services / umpnpmgr / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
8
9 set_unicode()
10
11 add_executable(umpnpmgr
12 umpnpmgr.c
13 umpnpmgr.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c)
15
16 target_link_libraries(umpnpmgr
17 wdmguid
18 ${PSEH_LIB})
19
20 set_module_type(umpnpmgr win32cui)
21 add_importlibs(umpnpmgr advapi32 rpcrt4 userenv msvcrt kernel32 ntdll)
22 add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all)