2013-12-04 20:44:14 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(wbemdisp.dll wbemdisp.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
locator.c
|
|
|
|
main.c
|
2014-02-10 12:19:56 +00:00
|
|
|
wbemdisp_private.h)
|
2013-12-04 20:44:14 +00:00
|
|
|
|
|
|
|
add_idl_headers(wbemdisp_idlheader wbemdisp_classes.idl)
|
|
|
|
add_typelib(wbemdisp_tlb.idl)
|
|
|
|
|
|
|
|
list(APPEND wbemdisp_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wbemdisp_classes.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wbemdisp_tlb.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wbemdisp_tlb.tlb)
|
|
|
|
|
|
|
|
set_source_files_properties(wbemdisp.rc PROPERTIES OBJECT_DEPENDS "${wbemdisp_rc_deps}")
|
|
|
|
|
2014-02-10 12:19:56 +00:00
|
|
|
add_library(wbemdisp SHARED
|
|
|
|
${SOURCE}
|
|
|
|
guid.c
|
|
|
|
wbemdisp.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wbemdisp.def)
|
|
|
|
|
2013-12-04 20:44:14 +00:00
|
|
|
set_module_type(wbemdisp win32dll)
|
2014-01-01 18:35:06 +00:00
|
|
|
target_link_libraries(wbemdisp uuid wine)
|
2013-12-04 20:44:14 +00:00
|
|
|
add_dependencies(wbemdisp wbemdisp_idlheader)
|
|
|
|
add_importlibs(wbemdisp oleaut32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(wbemdisp wbemdisp_private.h SOURCE)
|
2013-12-04 20:44:14 +00:00
|
|
|
add_cd_file(TARGET wbemdisp DESTINATION reactos/system32/wbem FOR all)
|