summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Platform/__init__.xml
blob: f54d17f99f750cbd1a649f7210beabca5ecff7cc (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!--
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation

This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
<cvar name="ESCAPE">
<summary>
A function that will be called to escape shell special characters in
command lines. The function should take one argument: the command line
string to escape; and should return the escaped command line.
</summary>
</cvar>

<cvar name="LIBPREFIX">
<summary>
The prefix used for (static) library file names.
A default value is set for each platform
(posix, win32, os2, etc.),
but the value is overridden by individual tools
(ar, mslib, sgiar, sunar, tlib, etc.)
to reflect the names of the libraries they create.
</summary>
</cvar>

<cvar name="LIBPREFIXES">
<summary>
A list of all legal prefixes for library file names.
When searching for library dependencies,
SCons will look for files with these prefixes,
the base library name,
and suffixes in the &cv-LIBSUFFIXES; list.
</summary>
</cvar>

<cvar name="LIBSUFFIX">
<summary>
The suffix used for (static) library file names.
A default value is set for each platform
(posix, win32, os2, etc.),
but the value is overridden by individual tools
(ar, mslib, sgiar, sunar, tlib, etc.)
to reflect the names of the libraries they create.
</summary>
</cvar>

<cvar name="LIBSUFFIXES">
<summary>
A list of all legal suffixes for library file names.
When searching for library dependencies,
SCons will look for files with prefixes, in the &cv-LIBPREFIXES; list,
the base library name,
and these suffixes.
</summary>
</cvar>

<cvar name="OBJPREFIX">
<summary>
The prefix used for (static) object file names.
</summary>
</cvar>

<cvar name="OBJSUFFIX">
<summary>
The suffix used for (static) object file names.
</summary>
</cvar>

<cvar name="PLATFORM">
<summary>
The name of the platform used to create the Environment.  If no platform is
specified when the Environment is created,
&scons;
autodetects the platform.

<example>
env = Environment(tools = [])
if env['PLATFORM'] == 'cygwin':
    Tool('mingw')(env)
else:
    Tool('msvc')(env)
</example>
</summary>
</cvar>

<cvar name="HOST_OS">
    <summary>
        The name of the host operating system used to create the Environment.
        If a platform is specified when creating the Environment, then
        that Platform's logic will handle setting this value.
        This value is immutable, and should not be changed by the user after
        the Environment is initialized.
        Currently only set for Win32.
    </summary>
</cvar>

<cvar name="HOST_ARCH">
    <summary>
        The name of the host hardware architecture used to create the Environment.
        If a platform is specified when creating the Environment, then
        that Platform's logic will handle setting this value.
        This value is immutable, and should not be changed by the user after
        the Environment is initialized.
        Currently only set for Win32.
    </summary>
</cvar>

<cvar name="TARGET_OS">
    <summary>
        The name of the target operating system for the compiled objects
        created by this Environment.
        This defaults to the value of HOST_OS, and the user can override it.
        Currently only set for Win32.
    </summary>
</cvar>

<cvar name="TARGET_ARCH">
    <summary>
        The name of the target hardware architecture for the compiled objects
        created by this Environment.
        This defaults to the value of HOST_ARCH, and the user can override it.
        Currently only set for Win32.
    </summary>
</cvar>


<cvar name="PROGPREFIX">
<summary>
The prefix used for executable file names.
</summary>
</cvar>

<cvar name="PROGSUFFIX">
<summary>
The suffix used for executable file names.
</summary>
</cvar>

<cvar name="SHELL">
<summary>
A string naming the shell program that will be passed to the
&cv-SPAWN;
function.
See the
&cv-SPAWN;
construction variable for more information.
</summary>
</cvar>

<cvar name="SHLIBPREFIX">
<summary>
The prefix used for shared library file names.
</summary>
</cvar>

<cvar name="SHLIBSUFFIX">
<summary>
The suffix used for shared library file names.
</summary>
</cvar>

<cvar name="SHOBJPREFIX">
<summary>
The prefix used for shared object file names.
</summary>
</cvar>

<cvar name="SHOBJSUFFIX">
<summary>
The suffix used for shared object file names.
</summary>
</cvar>

<cvar name="TEMPFILEPREFIX">
<summary>
The prefix for a temporary file used
to execute lines longer than $MAXLINELENGTH.
The default is '@'.
This may be set for toolchains that use other values,
such as '-@' for the diab compiler
or '-via' for ARM toolchain.
</summary>
</cvar>