2017-02-21 09:04:05 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2020-03-26 13:40:39 +00:00
|
|
|
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
|
2017-02-21 09:04:05 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
|
|
spec2def(wbemprox.dll wbemprox.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
builtin.c
|
|
|
|
class.c
|
|
|
|
main.c
|
|
|
|
process.c
|
|
|
|
qualifier.c
|
|
|
|
query.c
|
|
|
|
reg.c
|
|
|
|
security.c
|
|
|
|
service.c
|
|
|
|
services.c
|
|
|
|
table.c
|
2020-05-09 21:37:40 +00:00
|
|
|
wbemlocator.c)
|
|
|
|
|
2021-01-28 03:36:00 +00:00
|
|
|
BISON_TARGET(wql wql.y ${CMAKE_CURRENT_BINARY_DIR}/wql.tab.c COMPILE_FLAGS "-p wql_")
|
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c
|
2021-01-28 03:36:00 +00:00
|
|
|
${BISON_wql_OUTPUTS})
|
2019-04-06 21:35:37 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(wbemprox MODULE
|
2017-02-21 09:04:05 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2017-02-21 09:04:05 +00:00
|
|
|
wbemprox.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wbemprox.def)
|
|
|
|
|
|
|
|
set_source_files_properties(wbemprox.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/wbemprox.rgs)
|
|
|
|
set_module_type(wbemprox win32dll)
|
|
|
|
target_link_libraries(wbemprox uuid wine)
|
2019-02-04 12:10:55 +00:00
|
|
|
add_importlibs(wbemprox iphlpapi oleaut32 advapi32 user32 gdi32 version winspool ws2_32 rpcrt4 setupapi msvcrt kernel32 ntdll)
|
2017-02-21 09:04:05 +00:00
|
|
|
add_dependencies(wbemprox d3d_idl_headers)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(wbemprox precomp.h "${PCH_SKIP_SOURCE}")
|
2017-02-21 09:04:05 +00:00
|
|
|
add_cd_file(TARGET wbemprox DESTINATION reactos/system32/wbem FOR all)
|