mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
d7733b45c3
Create a portable way of compiling IDL files. Sorry for the coding style :) svn path=/branches/cmake-bringup/; revision=48838
120 lines
2.2 KiB
CMake
120 lines
2.2 KiB
CMake
|
|
LIST(APPEND SOURCE
|
|
# access.idl
|
|
activaut.idl
|
|
# asynot.idl
|
|
# asysta.idl
|
|
bdaiface.idl
|
|
# binres.idl
|
|
bits.idl
|
|
bits1_5.idl
|
|
# cmdbas.idl
|
|
# cmdtxt.idl
|
|
comcat.idl
|
|
commoncontrols.idl
|
|
control.idl
|
|
# crtrow.idl
|
|
ctxtcall.idl
|
|
# dbccmd.idl
|
|
# dbcses.idl
|
|
# dbdsad.idl
|
|
# dbinit.idl
|
|
# dbprop.idl
|
|
# dbs.idl
|
|
devenum.idl
|
|
dimm.idl
|
|
dispex.idl
|
|
docobj.idl
|
|
downloadmgr.idl
|
|
# dyngraph.idl
|
|
exdisp.idl
|
|
fusion.idl
|
|
hlink.idl
|
|
htiframe.idl
|
|
iads.idl
|
|
icftypes.idl
|
|
imnact.idl
|
|
imnxport.idl
|
|
indexsrv.idl
|
|
mimeinfo.idl
|
|
mimeole.idl
|
|
mscoree.idl
|
|
msdadc.idl
|
|
mshtmhst.idl
|
|
msinkaut.idl
|
|
mstask.idl
|
|
msxml.idl
|
|
msxml2.idl
|
|
netcon.idl
|
|
netfw.idl
|
|
oaidl.idl
|
|
objidl.idl
|
|
objsafe.idl
|
|
ocidl.idl
|
|
ocmm.idl
|
|
oleacc.idl
|
|
oledb.idl
|
|
oleidl.idl
|
|
# opnrst.idl
|
|
optary.idl
|
|
perhist.idl
|
|
propidl.idl
|
|
propsys.idl
|
|
pstore.idl
|
|
richole.idl
|
|
# row.idl
|
|
# rowchg.idl
|
|
# rstbas.idl
|
|
# rstinf.idl
|
|
# rstloc.idl
|
|
sensevts.idl
|
|
servprov.idl
|
|
# sesprp.idl
|
|
shdeprecated.idl
|
|
shldisp.idl
|
|
shtypes.idl
|
|
# stdole2.idl
|
|
strmif.idl
|
|
structuredquerycondition.idl
|
|
textstor.idl
|
|
tom.idl
|
|
tuner.idl
|
|
unknwn.idl
|
|
urlhist.idl
|
|
urlmon.idl
|
|
vmr9.idl
|
|
# vmrender.idl
|
|
wbemcli.idl
|
|
wia_lh.idl
|
|
wia_xp.idl
|
|
wtypes.idl
|
|
xmldom.idl
|
|
xmldso.idl
|
|
xmllite.idl)
|
|
|
|
if(NOT MSVC)
|
|
LIST(APPEND SOURCE
|
|
activscp.idl
|
|
activdbg.idl
|
|
asptlb.idl
|
|
ctfutb.idl
|
|
mlang.idl
|
|
msctf.idl
|
|
mshtml.idl
|
|
shobjidl.idl
|
|
wincodec.idl
|
|
wuapi.idl
|
|
)
|
|
endif()
|
|
|
|
ADD_INTERFACE_DEFINITIONS(psdk ${SOURCE})
|
|
|
|
ADD_CUSTOM_COMMAND(
|
|
OUTPUT ${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb
|
|
COMMAND native-widl -I${REACTOS_SOURCE_DIR}/include/dxsdk -I. -I${REACTOS_SOURCE_DIR}/include -I${REACTOS_SOURCE_DIR}/include/psdk -m32 --win32 -t -T ${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb ${REACTOS_SOURCE_DIR}/include/psdk/stdole2.idl
|
|
DEPENDS native-widl
|
|
)
|
|
|
|
SET_SOURCE_FILES_PROPERTIES(${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb PROPERTIES GENERATED TRUE)
|
|
|
|
ADD_CUSTOM_TARGET(stdole2 ALL DEPENDS ${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb)
|