@@ -122,7 +122,7 @@ need be specified in a call to a builder.
122
122
For example if you specify a shared library target named "foo",
123
123
&SCons; keeps track of the actual operating system dependent filename
124
124
(such as <filename >libfoo.so</filename > on a GNU/Linux system
125
- and <filename >foo.dll</filename > on Windows)) ,
125
+ and <filename >foo.dll</filename > on Windows),
126
126
and gives you a handle to refer to that target in other steps,
127
127
so you don't have to use system-specific strings yourself.
128
128
&SCons; can also scan automatically for dependency information,
@@ -166,22 +166,23 @@ See the &f-link-VariantDir; description for more details.
166
166
167
167
<para >
168
168
When invoked, &scons;
169
- looks for a file named
170
- &SConstruct;
171
- (other names are also accepted,
172
- see <xref linkend =" sconscript_files" />)
173
- in the current directory and reads the
174
- build configuration from that file;
175
- that directory is considered the project top directory.
169
+ looks for a file describing the build configuration
170
+ in the current directory and reads that in.
171
+ The file is by default named &SConstruct; ,
172
+ although some variants of that,
173
+ or a developer-chosen name, are also accepted
174
+ (see <xref linkend =" sconscript_files" />).
175
+ If found, the currrent directory
176
+ is set as the project top directory.
176
177
Certain command-line options specify alternate
177
- places to look for the &SConstruct;
178
+ places to look for &SConstruct;
178
179
(see
179
180
<link linkend =" opt-directory" ><option >-C</option ></link >,
180
181
<link linkend =" opt-D" ><option >-D</option ></link >,
181
182
<link linkend =" opt-up" ><option >-u</option ></link > and
182
183
<link linkend =" opt-U" ><option >-U</option ></link >),
183
- which will set the project top directory to the place found.
184
- A path to the main build configuration file can also be
184
+ which will set the project top directory to the path found.
185
+ A path to the build configuration can also be
185
186
specified with the
186
187
<link linkend =" opt-f" ><option >-f</option ></link > option,
187
188
which leaves the current directory as the project top directory.
@@ -208,13 +209,13 @@ regardless of the actual file names or number of such files.
208
209
A hierarchical build is not recursive - all of
209
210
the SConscript files are processed in a single pass
210
211
so that &scons; has a picture of the complete
211
- dependency tree at all times .
212
+ dependency tree when it begins considering what needs building .
212
213
Each SConscript file is processed in a separate context
213
214
so settings made in one script do not leak into another;
214
215
information can however be shared explicitly between scripts.
215
216
</para >
216
217
217
- <para >Before reading the & SConscript; files,
218
+ <para >Before reading the SConscript files,
218
219
&scons;
219
220
looks for a <firstterm >site directory</firstterm > -
220
221
a directory named <filename >site_scons</filename >
@@ -288,7 +289,7 @@ in effect at the time &scons; was called.
288
289
This helps avoid problems like picking up accidental
289
290
or malicious settings,
290
291
temporary debug values that are no longer needed,
291
- or one developer having different settings than another
292
+ or a developer having different settings than another
292
293
(or than the CI pipeline).
293
294
Environment variables needed for the proper
294
295
operation of such commands must be set in the
0 commit comments