summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/midl.xml
blob: 640207d0275537ad32d4ba1be62ccdecd7fd611c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!--
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons Foundation

This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
<tool name="midl">
<summary>
Sets construction variables for the Microsoft IDL compiler.
</summary>
<sets>
MIDL
MIDLFLAGS
MIDLCOM
</sets>
<uses>
MIDLCOMSTR
</uses>
</tool>

<builder name="TypeLibrary">
<summary>
Builds a Windows type library (<filename>.tlb</filename>)
file from an input IDL file (<filename>.idl</filename>).
In addition, it will build the associated inteface stub and
proxy source files,
naming them according to the base name of the <filename>.idl</filename> file.
For example,

<example>
env.TypeLibrary(source="foo.idl")
</example>

Will create <filename>foo.tlb</filename>,
<filename>foo.h</filename>,
<filename>foo_i.c</filename>,
<filename>foo_p.c</filename>
and
<filename>foo_data.c</filename>
files.
</summary>
</builder>

<cvar name="MIDL">
<summary>
The Microsoft IDL compiler.
</summary>
</cvar>

<cvar name="MIDLCOM">
<summary>
The command line used to pass files to the Microsoft IDL compiler.
</summary>
</cvar>

<cvar name="MIDLCOMSTR">
<summary>
The string displayed when
the Microsoft IDL copmiler is called.
If this is not set, then &cv-link-MIDLCOM; (the command line) is displayed.
</summary>
</cvar>

<cvar name="MIDLFLAGS">
<summary>
General options passed to the Microsoft IDL compiler.
</summary>
</cvar>