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 ctffunc.idl 33 ctxtcall.idl 34# dbccmd.idl 35# dbcses.idl 36# dbdsad.idl 37# dbinit.idl 38# dbprop.idl 39# dbs.idl 40 devenum.idl 41 devicetopology.idl 42 dimm.idl 43 dispex.idl 44 docobj.idl 45 docobjectservice.idl 46 downloadmgr.idl 47 drmexternals.idl 48# dyngraph.idl 49 endpointvolume.idl 50 exdisp.idl 51 fusion.idl 52 hlink.idl 53 htiface.idl 54 htiframe.idl 55 httprequest.idl 56 iads.idl 57 icftypes.idl 58 ieautomation.idl 59 imnact.idl 60 imnxport.idl 61 indexsrv.idl 62 inputscope.idl 63 inseng.idl 64 mediaobj.idl 65 metahost.idl 66 mfidl.idl 67 mfobjects.idl 68 mftransform.idl 69 mimeinfo.idl 70 mimeole.idl 71 mlang.idl 72 mmdeviceapi.idl 73 mscoree.idl 74 msctf.idl 75 msdadc.idl 76 mshtmhst.idl 77 mshtml.idl 78 msinkaut.idl 79 mstask.idl 80 msxml.idl 81 msxml2.idl 82 msxml6.idl 83 natupnp.idl 84 netcon.idl 85 netfw.idl 86 oaidl.idl 87 objectarray.idl 88 objidl.idl 89 objsafe.idl 90 ocidl.idl 91 ocmm.idl 92 oleacc.idl 93 oledb.idl 94 oleidl.idl 95# opnrst.idl 96 optary.idl 97 perhist.idl 98 propidl.idl 99 propsys.idl 100 pstore.idl 101 richole.idl 102# row.idl 103# rowchg.idl 104# rstbas.idl 105# rstinf.idl 106# rstloc.idl 107 sensevts.idl 108 servprov.idl 109# sesprp.idl 110 shdeprecated.idl 111 shldisp.idl 112 shobjidl.idl 113 shtypes.idl 114# stdole2.idl 115 strmif.idl 116 structuredquerycondition.idl 117 taskschd.idl 118 textstor.idl 119 tlogstg.idl 120 tom.idl 121 transact.idl 122 tuner.idl 123 txcoord.idl 124 txdtc.idl 125 unknwn.idl 126 urlhist.idl 127 urlmon.idl 128 vmr9.idl 129# vmrender.idl 130 vsbackup.idl 131 vss.idl 132 vswriter.idl 133 wbemcli.idl 134 wbemdisp.idl 135 wbemprov.idl 136 wia_lh.idl 137 wia_xp.idl 138 wincodec.idl 139 wincodecsdk.idl 140 winsxs.idl 141 wmdrmsdk.idl 142 wmiutils.idl 143 wmsbuffer.idl 144 wmsdkidl.idl 145 wtypes.idl 146 wuapi.idl 147 xmldom.idl 148 xmldso.idl 149 ctfutb.idl 150 xmllite.idl) 151 152add_idl_headers(psdk ${SOURCE}) 153add_dependencies(psdk xdk) 154add_typelib(stdole2.idl) 155add_custom_target(stdole2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stdole2.tlb) 156 157add_idl_headers(d3d_idl_headers d3dcommon.idl) 158 159add_iid_library(adsiid iads.idl transact.idl) 160add_iid_library(wuguid wuapi.idl) 161add_iid_library(xml_uuids msxml2.idl) 162 163generate_idl_iids(wincodec.idl) 164