add_definitions(-D_MIDL_USE_GUIDDEF_)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+
list(APPEND SOURCE
# access.idl
activaut.idl
asptlb.idl
# asynot.idl
# asysta.idl
+ atliface.idl
+ audioclient.idl
+ audiopolicy.idl
bdaiface.idl
# binres.idl
bits.idl
bits1_5.idl
+ bits3_0.idl
# cmdbas.idl
# cmdtxt.idl
comcat.idl
commoncontrols.idl
control.idl
+ cor.idl
+ cordebug.idl
# crtrow.idl
ctxtcall.idl
# dbccmd.idl
# dbprop.idl
# dbs.idl
devenum.idl
+ devicetopology.idl
dimm.idl
dispex.idl
docobj.idl
+ docobjectservice.idl
downloadmgr.idl
+ dxgi.idl
# dyngraph.idl
+ endpointvolume.idl
exdisp.idl
fusion.idl
hlink.idl
+ htiface.idl
htiframe.idl
+ httprequest.idl
iads.idl
icftypes.idl
imnact.idl
imnxport.idl
indexsrv.idl
+ inputscope.idl
+ metahost.idl
mimeinfo.idl
mimeole.idl
mlang.idl
+ mmdeviceapi.idl
mscoree.idl
msctf.idl
msdadc.idl
netcon.idl
netfw.idl
oaidl.idl
+ objectarray.idl
objidl.idl
objsafe.idl
ocidl.idl
strmif.idl
structuredquerycondition.idl
textstor.idl
+ tlogstg.idl
tom.idl
tuner.idl
unknwn.idl
urlmon.idl
vmr9.idl
# vmrender.idl
+ wbemcli.idl
+ wbemdisp.idl
+ wbemprov.idl
wia_lh.idl
wia_xp.idl
wincodec.idl
+ wincodecsdk.idl
winsxs.idl
wtypes.idl
wuapi.idl
ctfutb.idl
xmllite.idl)
-if(NOT MSVC)
- list(APPEND SOURCE
- wbemcli.idl)
-endif()
-
add_idl_headers(psdk ${SOURCE})
+add_typelib(stdole2.idl)
+add_custom_target(stdole2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stdole2.tlb)
-add_typelib(stdole2 stdole2.idl)
+add_idl_headers(d3d_idl_headers d3d10.idl d3dcommon.idl)
+add_iid_library(dxgi_uuids dxgi.idl)
add_iid_library(wuguid wuapi.idl)
add_iid_library(xml_uuids msxml2.idl)