[WBEMPROX] Sync with Wine Staging 1.7.37. CORE-9246
[reactos.git] / reactos / dll / win32 / wbemprox / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 spec2def(wbemprox.dll wbemprox.spec)
8
9 list(APPEND SOURCE
10 builtin.c
11 class.c
12 main.c
13 process.c
14 qualifier.c
15 query.c
16 reg.c
17 security.c
18 service.c
19 services.c
20 table.c
21 wbemlocator.c
22 wql.tab.c
23 wbemprox_private.h)
24
25 add_library(wbemprox SHARED
26 ${SOURCE}
27 guid.c
28 wbemprox.rc
29 ${CMAKE_CURRENT_BINARY_DIR}/wbemprox.def)
30
31 set_source_files_properties(wbemprox.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/wbemprox.rgs)
32 set_module_type(wbemprox win32dll)
33 target_link_libraries(wbemprox uuid wine)
34 add_importlibs(wbemprox iphlpapi dxgi oleaut32 advapi32 user32 gdi32 version ws2_32 msvcrt kernel32 ntdll)
35 add_dependencies(wbemprox d3d_idl_headers)
36 add_pch(wbemprox wbemprox_private.h SOURCE)
37 add_cd_file(TARGET wbemprox DESTINATION reactos/system32/wbem FOR all)