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 imnact.idl 58 imnxport.idl 59 indexsrv.idl 60 inputscope.idl 61 inseng.idl 62 mediaobj.idl 63 metahost.idl 64 mfidl.idl 65 mfobjects.idl 66 mftransform.idl 67 mimeinfo.idl 68 mimeole.idl 69 mlang.idl 70 mmdeviceapi.idl 71 mscoree.idl 72 msctf.idl 73 msdadc.idl 74 mshtmhst.idl 75 mshtml.idl 76 msinkaut.idl 77 mstask.idl 78 msxml.idl 79 msxml2.idl 80 msxml6.idl 81 netcon.idl 82 netfw.idl 83 oaidl.idl 84 objectarray.idl 85 objidl.idl 86 objsafe.idl 87 ocidl.idl 88 ocmm.idl 89 oleacc.idl 90 oledb.idl 91 oleidl.idl 92# opnrst.idl 93 optary.idl 94 perhist.idl 95 propidl.idl 96 propsys.idl 97 pstore.idl 98 richole.idl 99# row.idl 100# rowchg.idl 101# rstbas.idl 102# rstinf.idl 103# rstloc.idl 104 sensevts.idl 105 servprov.idl 106# sesprp.idl 107 shdeprecated.idl 108 shldisp.idl 109 shobjidl.idl 110 shtypes.idl 111# stdole2.idl 112 strmif.idl 113 structuredquerycondition.idl 114 textstor.idl 115 tlogstg.idl 116 tom.idl 117 tuner.idl 118 unknwn.idl 119 urlhist.idl 120 urlmon.idl 121 vmr9.idl 122# vmrender.idl 123 vss.idl 124 wbemcli.idl 125 wbemdisp.idl 126 wbemprov.idl 127 wia_lh.idl 128 wia_xp.idl 129 wincodec.idl 130 wincodecsdk.idl 131 winsxs.idl 132 wmdrmsdk.idl 133 wmiutils.idl 134 wmsbuffer.idl 135 wmsdkidl.idl 136 wtypes.idl 137 wuapi.idl 138 xmldom.idl 139 xmldso.idl 140 ctfutb.idl 141 xmllite.idl) 142 143add_idl_headers(psdk ${SOURCE}) 144add_dependencies(psdk xdk) 145add_typelib(stdole2.idl) 146add_custom_target(stdole2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stdole2.tlb) 147 148add_idl_headers(d3d_idl_headers d3dcommon.idl) 149 150add_iid_library(wuguid wuapi.idl) 151add_iid_library(xml_uuids msxml2.idl) 152 153generate_idl_iids(wincodec.idl) 154