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 taskschd.idl 116 textstor.idl 117 tlogstg.idl 118 tom.idl 119 transact.idl 120 tuner.idl 121 txcoord.idl 122 txdtc.idl 123 unknwn.idl 124 urlhist.idl 125 urlmon.idl 126 vmr9.idl 127# vmrender.idl 128 vss.idl 129 wbemcli.idl 130 wbemdisp.idl 131 wbemprov.idl 132 wia_lh.idl 133 wia_xp.idl 134 wincodec.idl 135 wincodecsdk.idl 136 winsxs.idl 137 wmdrmsdk.idl 138 wmiutils.idl 139 wmsbuffer.idl 140 wmsdkidl.idl 141 wtypes.idl 142 wuapi.idl 143 xmldom.idl 144 xmldso.idl 145 ctfutb.idl 146 xmllite.idl) 147 148add_idl_headers(psdk ${SOURCE}) 149add_dependencies(psdk xdk) 150add_typelib(stdole2.idl) 151add_custom_target(stdole2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stdole2.tlb) 152 153add_idl_headers(d3d_idl_headers d3dcommon.idl) 154 155add_iid_library(adsiid iads.idl transact.idl) 156add_iid_library(wuguid wuapi.idl) 157add_iid_library(xml_uuids msxml2.idl) 158 159generate_idl_iids(wincodec.idl) 160