xref: /reactos/sdk/lib/uuid/CMakeLists.txt (revision 019f21ee)
1
2add_definitions(-D_MIDL_USE_GUIDDEF_)
3
4list(APPEND IDL_SOURCES
5# These are the ones that MS uuid contains:
6#    activaut.idl
7    activdbg.idl
8    activscp.idl
9#    alg.idl
10#    autodiscovery.idl
11#    bidispl.idl
12#    bidisplp.idl
13#    bthguid
14#    callobj.idl
15#    cguid.idl
16#    chanmgr.idl
17#    ciintf.idl
18#    cladmwiz.idl
19#    cluadmex.idl
20#    cluscfgserver.idl
21#    cluscfgwizard.idl
22    comcat.idl
23    commoncontrols.idl
24#    confpriv.idl
25#    ctffunc.idl
26#    ctfbui.idl
27#    ctfspui.idl
28#    ctfutb.idl
29    ctxtcall.idl
30#    cxq_cust.idl
31#    dbgprop.idl
32    dimm.idl
33    dispex.idl
34#    dlmgridl.idl
35    docobj.idl
36#    dwnnot.idl
37#    dxtmsft.idl
38#    dxtrans.idl
39#    dxtransp.idl
40#    emptyvc.idl
41    exdisp.idl
42#    filter.idl
43#    filtntfy.idl
44#    fsciclnt.idl
45#    h323priv.idl
46    hlink.idl
47#    hnetbcon.idl
48#    hnetcfg.idl
49    htiface.idl
50    htiframe.idl
51#    htmlfilter.idl
52    httprequest.idl
53#    iaccess.idl
54#    iaspolcy.idl
55#    iedial.idl
56#    iextag.idl
57#    imapi.idl
58#    imguitil.idl
59#    immact.idl
60#    indexsrc.idl
61#    inputscope.idl
62#    interned.idl
63#    ipmsp.idl
64#    mdhcp.idl
65    mimeinfo.idl
66    mlang.idl
67#    mobsync.idl
68#    mobsyncp.idl
69#    mparser.idl
70    msctf.idl
71#    msdaosp.idl
72    mshtmhst.idl
73    mshtml.idl
74#    msp.idl
75#    mstime.idl
76    msxml.idl
77#    my_msdatsrc.idl
78    natupnp.idl
79#    netcfgn.idl
80#    netcfgp.idl
81#    netcfgx.idl
82    netcon.idl
83#    netconp.idl
84#    netfwv6.idl
85#    netfwv6clsid
86#    netmon.idl
87#    netprov.idl
88    oaidl.idl
89    objidl.idl
90    objsafe.idl
91    ocidl.idl
92    ocmm.idl
93    oleacc.idl
94#    oleext.idl
95    oleidl.idl
96#    opsprof.idl
97    optary.idl
98#    pbagex.idl
99    perhist.idl
100#    prgsnk.idl
101    propidl.idl
102#    query.idl
103#    ratingsp.idl
104#    recalc.idl
105#    rend.idl
106#    rtccore.idl
107#    safeocx.idl
108#    sdoias.idl
109#    sdpblb.idl
110    sensevts.idl
111    servprov.idl
112#    shappmgr.idl
113    shdeprecated.idl
114#    shgina.idl
115#    shimgdata.idl
116    shldisp.idl
117    shobjidl.idl
118#    sifmt.idl
119#    simpdata.idl
120#    softkbd.idl
121#    storext.idl
122#    subsmgr.idl
123#    syncmgr.idl
124#    sysmgmt.idl
125#    tapi3.idl
126#    tapi3if.idl
127#    termmgr.idl
128    textstor.idl
129#    tlog.idl
130    tlogstg.idl
131#    trkadm.idl
132#    trkcom.idl
133    unknwn.idl
134#    upnp.idl
135#    upnphost.idl
136#    upnpp.idl
137    urlhist.idl
138    urlmon.idl
139#    urltrack.idl
140#    vervec.idl
141#    vrsscan.idl
142#    webcheck.idl
143#    xenroll.idl
144#    xmlparser.idl
145#    xmlprov.idl
146
147# These are others that reactos provides:
148    asptlb.idl
149    bdaiface.idl
150    bits.idl
151    bits1_5.idl
152    control.idl
153    docobjectservice.idl
154    downloadmgr.idl
155    fusion.idl
156    iads.idl
157    imnact.idl
158    imnxport.idl
159    indexsrv.idl
160    mimeole.idl
161    mscoree.idl
162    msdadc.idl
163    mstask.idl
164    netfw.idl
165    oledb.idl
166    propsys.idl
167    pstore.idl
168    richole.idl
169    strmif.idl
170    tom.idl
171    tuner.idl
172    vmr9.idl
173    wia_xp.idl
174    wincodec.idl
175    xmldom.idl
176    xmldso.idl
177    ctfutb.idl
178    xmllite.idl)
179
180if(MSVC)
181    list(APPEND IDL_SOURCES
182        atliface.idl
183        cor.idl
184        cordebug.idl
185        metahost.idl)
186else()
187    list(APPEND IDL_SOURCES
188        wbemcli.idl
189        wuapi.idl)
190endif()
191
192foreach(IDL_FILE ${IDL_SOURCES})
193    get_filename_component(NAME ${IDL_FILE} NAME_WE)
194    generate_idl_iids(${CMAKE_SOURCE_DIR}/sdk/include/psdk/${IDL_FILE})
195    list(APPEND SOURCE ${NAME}_i.c)
196endforeach()
197
198list(APPEND SOURCE
199    cguid_i.c
200#    bthguid.c
201#    cluscfgguids.c
202    cmdtreeiid.c
203#    ctffunc_g.c
204#    ctfspui_g.c
205#    hnclsid.c
206    ieguids.c
207#    iid.c
208#    msctf_g.c
209#    ncclsid.c
210#    ndisguid.c
211    netfwv6clsid.c
212#    oledbdat.c
213#    oledbdepiid.c
214#    oledbiid.c
215#    oledbnewiid.c
216#    qosguid.c
217    shguids.c
218#    tapi3iid.c
219#    vcguids.c
220    wdmguids.c
221    otherguids.c
222    undoc.c
223    precomp.h)
224
225add_library(uuid ${SOURCE})
226add_pch(uuid precomp.h SOURCE)
227add_dependencies(uuid psdk)
228