2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
5 add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
6 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(wbemprox.dll wbemprox.spec)
23 list(APPEND PCH_SKIP_SOURCE
27 # wql.tab.c has been generated with relative file paths...
28 set_source_files_properties(wql.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
30 add_library(wbemprox MODULE
34 ${CMAKE_CURRENT_BINARY_DIR}/wbemprox.def)
36 set_source_files_properties(wbemprox.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/wbemprox.rgs)
37 set_module_type(wbemprox win32dll)
38 target_link_libraries(wbemprox uuid wine)
39 add_importlibs(wbemprox iphlpapi oleaut32 advapi32 user32 gdi32 version winspool ws2_32 rpcrt4 setupapi msvcrt kernel32 ntdll)
40 add_dependencies(wbemprox d3d_idl_headers)
41 add_pch(wbemprox precomp.h "${PCH_SKIP_SOURCE}")
42 add_cd_file(TARGET wbemprox DESTINATION reactos/system32/wbem FOR all)