4 This file is processed by the bin/SConsDoc.py module.
5 See its __doc__ string for a discussion of the format.
13 <cvar name="no_import_lib">
16 suppresses creation of a corresponding Windows static import lib by the
17 <literal>SharedLibrary</literal>
18 builder when used with
19 MinGW, Microsoft Visual Studio or Metrowerks.
20 This also suppresses creation
21 of an export (.exp) file
22 when using Microsoft Visual Studio.
28 The Microsoft Visual C++ PDB file that will store debugging information for
29 object files, shared libraries, and programs. This variable is ignored by
30 tools other than Microsoft Visual C++.
32 defined SCons will add options to the compiler and linker command line to
33 cause them to generate external debugging information, and will also set up the
34 dependencies for the PDB file.
38 env['PDB'] = 'hello.pdb'
41 The Visual C++ compiler switch that SCons uses by default
42 to generate PDB information is <option>/Z7</option>.
43 This works correctly with parallel (<option>-j</option>) builds
44 because it embeds the debug information in the intermediate object files,
45 as opposed to sharing a single PDB file between multiple object files.
46 This is also the only way to get debug information
47 embedded into a static library.
48 Using the <option>/Zi</option> instead may yield improved
49 link-time performance,
50 although parallel builds will no longer work.
51 You can generate PDB files with the <option>/Zi</option>
52 switch by overriding the default &cv-link-CCPDBFLAGS; variable;
53 see the entry for that variable for specific examples.
59 The program used on Windows systems
60 to register a newly-built DLL library
61 whenever the &b-SharedLibrary; builder
62 is passed a keyword argument of <literal>register=1</literal>.
66 <cvar name="REGSVRCOM">
68 The command line used on Windows systems
69 to register a newly-built DLL library
70 whenever the &b-SharedLibrary; builder
71 is passed a keyword argument of <literal>register=1</literal>.
75 <cvar name="REGSVRCOMSTR">
77 The string displayed when registering a newly-built DLL file.
78 If this is not set, then &cv-link-REGSVRCOM; (the command line) is displayed.
82 <cvar name="REGSVRFLAGS">
84 Flags passed to the DLL registration program
85 on Windows systems when a newly-built DLL library is registered.
87 this includes the <option>/s</option>
88 that prevents dialog boxes from popping up
89 and requiring user attention.
93 <cvar name="WIN32_INSERT_DEF">
95 A deprecated synonym for &cv-link-WINDOWS_INSERT_DEF;.
99 <cvar name="WIN32DEFPREFIX">
101 A deprecated synonym for &cv-link-WINDOWSDEFPREFIX;.
105 <cvar name="WIN32DEFSUFFIX">
107 A deprecated synonym for &cv-link-WINDOWSDEFSUFFIX;.
111 <cvar name="WIN32EXPPREFIX">
113 A deprecated synonym for &cv-link-WINDOWSEXPSUFFIX;.
117 <cvar name="WIN32EXPSUFFIX">
119 A deprecated synonym for &cv-link-WINDOWSEXPSUFFIX;.
123 <cvar name="WINDOWS_INSERT_DEF">
125 When this is set to true,
126 a library build of a Windows shared library
127 (<filename>.dll</filename>file)
128 will also build a corresponding <filename>.def</filename> file
130 if a <filename>.def</filename> file
131 is not already listed as a build target.
132 The default is 0 (do not build a <filename>.def</filename> file).
136 <cvar name="WINDOWS_INSERT_MANIFEST">
138 When this is set to true,
141 <filename>.manifest</filename>
142 files generated by Microsoft Visua C/C++ 8.
146 <cvar name="WINDOWSDEFPREFIX">
148 The prefix used for Windows <filename>.def</filename>file names.
152 <cvar name="WINDOWSDEFSUFFIX">
154 The suffix used for Windows <filename>.def</filename> file names.
158 <cvar name="WINDOWSEXPPREFIX">
160 The prefix used for Windows <filename>.exp</filename> file names.
164 <cvar name="WINDOWSEXPSUFFIX">
166 The suffix used for Windows <filename>.exp</filename> file names.
170 <cvar name="WINDOWSPROGMANIFESTPREFIX">
172 The prefix used for executable program <filename>.manifest</filename> files
173 generated by Microsoft Visual C/C++.
177 <cvar name="WINDOWSPROGMANIFESTSUFFIX">
179 The suffix used for executable program <filename>.manifest</filename> files
180 generated by Microsoft Visual C/C++.
184 <cvar name="WINDOWSSHLIBMANIFESTPREFIX">
186 The prefix used for shared library <filename>.manifest</filename> files
187 generated by Microsoft Visual C/C++.
191 <cvar name="WINDOWSSHLIBMANIFESTSUFFIX">
193 The suffix used for shared library <filename>.manifest</filename> files
194 generated by Microsoft Visual C/C++.