1 2add_definitions(-D_MIDL_USE_GUIDDEF_) 3 4include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 5 6list(APPEND SOURCE 7# access.idl 8 activaut.idl 9 activdbg.idl 10 activscp.idl 11 asptlb.idl 12# asynot.idl 13# asysta.idl 14 atliface.idl 15 audioclient.idl 16 audiopolicy.idl 17 bdaiface.idl 18# binres.idl 19 bits.idl 20 bits1_5.idl 21 bits2_0.idl 22 bits2_5.idl 23 bits3_0.idl 24# cmdbas.idl 25# cmdtxt.idl 26 comcat.idl 27 commoncontrols.idl 28 control.idl 29 cor.idl 30 cordebug.idl 31# crtrow.idl 32 ctxtcall.idl 33# dbccmd.idl 34# dbcses.idl 35# dbdsad.idl 36# dbinit.idl 37# dbprop.idl 38# dbs.idl 39 devenum.idl 40 devicetopology.idl 41 dimm.idl 42 dispex.idl 43 docobj.idl 44 docobjectservice.idl 45 downloadmgr.idl 46 drmexternals.idl 47# dyngraph.idl 48 endpointvolume.idl 49 exdisp.idl 50 fusion.idl 51 hlink.idl 52 htiface.idl 53 htiframe.idl 54 httprequest.idl 55 iads.idl 56 icftypes.idl 57 ieautomation.idl 58 imnact.idl 59 imnxport.idl 60 indexsrv.idl 61 inputscope.idl 62 inseng.idl 63 mediaobj.idl 64 metahost.idl 65 mfidl.idl 66 mfobjects.idl 67 mftransform.idl 68 mimeinfo.idl 69 mimeole.idl 70 mlang.idl 71 mmdeviceapi.idl 72 mscoree.idl 73 msctf.idl 74 msdadc.idl 75 mshtmhst.idl 76 mshtml.idl 77 msinkaut.idl 78 mstask.idl 79 msxml.idl 80 msxml2.idl 81 msxml6.idl 82 netcon.idl 83 netfw.idl 84 oaidl.idl 85 objectarray.idl 86 objidl.idl 87 objsafe.idl 88 ocidl.idl 89 ocmm.idl 90 oleacc.idl 91 oledb.idl 92 oleidl.idl 93# opnrst.idl 94 optary.idl 95 perhist.idl 96 propidl.idl 97 propsys.idl 98 pstore.idl 99 richole.idl 100# row.idl 101# rowchg.idl 102# rstbas.idl 103# rstinf.idl 104# rstloc.idl 105 sensevts.idl 106 servprov.idl 107# sesprp.idl 108 shdeprecated.idl 109 shldisp.idl 110 shobjidl.idl 111 shtypes.idl 112# stdole2.idl 113 strmif.idl 114 structuredquerycondition.idl 115 textstor.idl 116 tlogstg.idl 117 tom.idl 118 tuner.idl 119 unknwn.idl 120 urlhist.idl 121 urlmon.idl 122 vmr9.idl 123# vmrender.idl 124 vss.idl 125 wbemcli.idl 126 wbemdisp.idl 127 wbemprov.idl 128 wia_lh.idl 129 wia_xp.idl 130 wincodec.idl 131 wincodecsdk.idl 132 winsxs.idl 133 wmdrmsdk.idl 134 wmiutils.idl 135 wmsbuffer.idl 136 wmsdkidl.idl 137 wtypes.idl 138 wuapi.idl 139 xmldom.idl 140 xmldso.idl 141 ctfutb.idl 142 xmllite.idl) 143 144add_idl_headers(psdk ${SOURCE}) 145add_dependencies(psdk xdk) 146add_typelib(stdole2.idl) 147add_custom_target(stdole2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stdole2.tlb) 148 149add_idl_headers(d3d_idl_headers d3dcommon.idl) 150 151add_iid_library(wuguid wuapi.idl) 152add_iid_library(xml_uuids msxml2.idl) 153 154generate_idl_iids(wincodec.idl) 155