Merge my current work done on the kd++ branch:
[reactos.git] / reactos / 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
10 add_executable(umpnpmgr
11 umpnpmgr.c
12 umpnpmgr.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c)
14
15 target_link_libraries(umpnpmgr
16 wdmguid
17 ${PSEH_LIB})
18
19 set_module_type(umpnpmgr win32cui UNICODE)
20 add_importlibs(umpnpmgr advapi32 rpcrt4 userenv msvcrt kernel32 ntdll)
21 add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all)