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 natupnp.idl 83 netcon.idl 84 netfw.idl 85 oaidl.idl 86 objectarray.idl 87 objidl.idl 88 objsafe.idl 89 ocidl.idl 90 ocmm.idl 91 oleacc.idl 92 oledb.idl 93 oleidl.idl 94# opnrst.idl 95 optary.idl 96 perhist.idl 97 propidl.idl 98 propsys.idl 99 pstore.idl 100 richole.idl 101# row.idl 102# rowchg.idl 103# rstbas.idl 104# rstinf.idl 105# rstloc.idl 106 sensevts.idl 107 servprov.idl 108# sesprp.idl 109 shdeprecated.idl 110 shldisp.idl 111 shobjidl.idl 112 shtypes.idl 113# stdole2.idl 114 strmif.idl 115 structuredquerycondition.idl 116 taskschd.idl 117 textstor.idl 118 tlogstg.idl 119 tom.idl 120 transact.idl 121 tuner.idl 122 txcoord.idl 123 txdtc.idl 124 unknwn.idl 125 urlhist.idl 126 urlmon.idl 127 vmr9.idl 128# vmrender.idl 129 vsbackup.idl 130 vss.idl 131 vswriter.idl 132 wbemcli.idl 133 wbemdisp.idl 134 wbemprov.idl 135 wia_lh.idl 136 wia_xp.idl 137 wincodec.idl 138 wincodecsdk.idl 139 winsxs.idl 140 wmdrmsdk.idl 141 wmiutils.idl 142 wmsbuffer.idl 143 wmsdkidl.idl 144 wtypes.idl 145 wuapi.idl 146 xmldom.idl 147 xmldso.idl 148 ctfutb.idl 149 xmllite.idl) 150 151add_idl_headers(psdk ${SOURCE}) 152add_dependencies(psdk xdk) 153add_typelib(stdole2.idl) 154add_custom_target(stdole2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stdole2.tlb) 155 156add_idl_headers(d3d_idl_headers d3dcommon.idl) 157 158add_iid_library(adsiid iads.idl transact.idl) 159add_iid_library(wuguid wuapi.idl) 160add_iid_library(xml_uuids msxml2.idl) 161 162generate_idl_iids(wincodec.idl) 163