summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/mslink.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/mslink.xml')
-rw-r--r--src/engine/SCons/Tool/mslink.xml155
1 files changed, 116 insertions, 39 deletions
diff --git a/src/engine/SCons/Tool/mslink.xml b/src/engine/SCons/Tool/mslink.xml
index 33fa9dd..71b557e 100644
--- a/src/engine/SCons/Tool/mslink.xml
+++ b/src/engine/SCons/Tool/mslink.xml
@@ -1,57 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
<!--
-Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The SCons Foundation
+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 The SCons Foundation
This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
+
+<!DOCTYPE sconsdoc [
+<!ENTITY % scons SYSTEM '../../../../doc/scons.mod'>
+%scons;
+<!ENTITY % builders-mod SYSTEM '../../../../doc/generated/builders.mod'>
+%builders-mod;
+<!ENTITY % functions-mod SYSTEM '../../../../doc/generated/functions.mod'>
+%functions-mod;
+<!ENTITY % tools-mod SYSTEM '../../../../doc/generated/tools.mod'>
+%tools-mod;
+<!ENTITY % variables-mod SYSTEM '../../../../doc/generated/variables.mod'>
+%variables-mod;
+]>
+
+<sconsdoc xmlns="http://www.scons.org/dbxsd/v1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0/scons.xsd scons.xsd">
+
<tool name="mslink">
<summary>
+<para>
Sets construction variables for the Microsoft linker.
+</para>
</summary>
<sets>
-SHLINK
-SHLINKFLAGS
-SHLINKCOM
-LINK
-LINKFLAGS
-LINKCOM
-LIBDIRPREFIX
-LIBDIRSUFFIX
-LIBLINKPREFIX
-LIBLINKSUFFIX
-WIN32DEFPREFIX
-WIN32DEFSUFFIX
-WINDOWSDEFPREFIX
-WINDOWSDEFSUFFIX
-WINDOWS_INSERT_DEF
-WIN32EXPPREFIX
-WIN32EXPSUFFIX
-WINDOWSEXPPREFIX
-WINDOWSEXPSUFFIX
-WINDOWSSHLIBMANIFESTPREFIX
-WINDOWSSHLIBMANIFESTSUFFIX
-WINDOWSPROGMANIFESTPREFIX
-WINDOWSPROGMANIFESTSUFFIX
-<!--REGSVRACTION-->
-REGSVR
-REGSVRFLAGS
-REGSVRCOM
-LDMODULE
-LDMODULEPREFIX
-LDMODULESUFFIX
-LDMODULEFLAGS
-LDMODULECOM
+<item>SHLINK</item>
+<item>SHLINKFLAGS</item>
+<item>SHLINKCOM</item>
+<item>LINK</item>
+<item>LINKFLAGS</item>
+<item>LINKCOM</item>
+<item>LIBDIRPREFIX</item>
+<item>LIBDIRSUFFIX</item>
+<item>LIBLINKPREFIX</item>
+<item>LIBLINKSUFFIX</item>
+<item>WIN32DEFPREFIX</item>
+<item>WIN32DEFSUFFIX</item>
+<item>WINDOWSDEFPREFIX</item>
+<item>WINDOWSDEFSUFFIX</item>
+<item>WINDOWS_INSERT_DEF</item>
+<item>WIN32EXPPREFIX</item>
+<item>WIN32EXPSUFFIX</item>
+<item>WINDOWSEXPPREFIX</item>
+<item>WINDOWSEXPSUFFIX</item>
+<item>WINDOWSSHLIBMANIFESTPREFIX</item>
+<item>WINDOWSSHLIBMANIFESTSUFFIX</item>
+<item>WINDOWSPROGMANIFESTPREFIX</item>
+<item>WINDOWSPROGMANIFESTSUFFIX</item>
+<item><!--REGSVRACTION--></item>
+<item>REGSVR</item>
+<item>REGSVRFLAGS</item>
+<item>REGSVRCOM</item>
+<item>LDMODULE</item>
+<item>LDMODULEPREFIX</item>
+<item>LDMODULESUFFIX</item>
+<item>LDMODULEFLAGS</item>
+<item>LDMODULECOM</item>
</sets>
<uses>
-SHLINKCOMSTR
-LINKCOMSTR
-REGSVRCOMSTR
-LDMODULECOMSTR
+<item>SHLINKCOMSTR</item>
+<item>LINKCOMSTR</item>
+<item>REGSVRCOMSTR</item>
+<item>LDMODULECOMSTR</item>
</uses>
</tool>
<cvar name="no_import_lib">
<summary>
+<para>
When set to non-zero,
suppresses creation of a corresponding Windows static import lib by the
<literal>SharedLibrary</literal>
@@ -60,11 +82,13 @@ MinGW, Microsoft Visual Studio or Metrowerks.
This also suppresses creation
of an export (.exp) file
when using Microsoft Visual Studio.
+</para>
</summary>
</cvar>
<cvar name="PDB">
<summary>
+<para>
The Microsoft Visual C++ PDB file that will store debugging information for
object files, shared libraries, and programs. This variable is ignored by
tools other than Microsoft Visual C++.
@@ -73,11 +97,13 @@ defined SCons will add options to the compiler and linker command line to
cause them to generate external debugging information, and will also set up the
dependencies for the PDB file.
Example:
+</para>
-<example>
+<example_commands>
env['PDB'] = 'hello.pdb'
-</example>
+</example_commands>
+<para>
The Visual C++ compiler switch that SCons uses by default
to generate PDB information is <option>/Z7</option>.
This works correctly with parallel (<option>-j</option>) builds
@@ -91,114 +117,144 @@ although parallel builds will no longer work.
You can generate PDB files with the <option>/Zi</option>
switch by overriding the default &cv-link-CCPDBFLAGS; variable;
see the entry for that variable for specific examples.
+</para>
</summary>
</cvar>
<cvar name="WINDOWS_EMBED_MANIFEST">
<summary>
+<para>
Set this variable to True or 1 to embed the compiler-generated manifest
(normally <literal>${TARGET}.manifest</literal>)
into all Windows exes and DLLs built with this environment,
as a resource during their link step.
This is done using &cv-link-MT; and &cv-link-MTEXECOM; and &cv-link-MTSHLIBCOM;.
+</para>
</summary>
</cvar>
<cvar name="MT">
<summary>
+<para>
The program used on Windows systems to embed manifests into DLLs and EXEs.
See also &cv-link-WINDOWS_EMBED_MANIFEST;.
+</para>
</summary>
</cvar>
<cvar name="MTFLAGS">
<summary>
+<para>
Flags passed to the &cv-link-MT; manifest embedding program (Windows only).
+</para>
</summary>
</cvar>
<cvar name="MTEXECOM">
<summary>
+<para>
The Windows command line used to embed manifests into executables.
See also &cv-link-MTSHLIBCOM;.
+</para>
</summary>
</cvar>
<cvar name="MTSHLIBCOM">
<summary>
+<para>
The Windows command line used to embed manifests into shared libraries (DLLs).
See also &cv-link-MTEXECOM;.
+</para>
</summary>
</cvar>
<cvar name="REGSVR">
<summary>
+<para>
The program used on Windows systems
to register a newly-built DLL library
whenever the &b-SharedLibrary; builder
is passed a keyword argument of <literal>register=1</literal>.
+</para>
</summary>
</cvar>
<cvar name="REGSVRCOM">
<summary>
+<para>
The command line used on Windows systems
to register a newly-built DLL library
whenever the &b-SharedLibrary; builder
is passed a keyword argument of <literal>register=1</literal>.
+</para>
</summary>
</cvar>
<cvar name="REGSVRCOMSTR">
<summary>
+<para>
The string displayed when registering a newly-built DLL file.
If this is not set, then &cv-link-REGSVRCOM; (the command line) is displayed.
+</para>
</summary>
</cvar>
<cvar name="REGSVRFLAGS">
<summary>
+<para>
Flags passed to the DLL registration program
on Windows systems when a newly-built DLL library is registered.
By default,
this includes the <option>/s</option>
that prevents dialog boxes from popping up
and requiring user attention.
+</para>
</summary>
</cvar>
<cvar name="WIN32_INSERT_DEF">
<summary>
+<para>
A deprecated synonym for &cv-link-WINDOWS_INSERT_DEF;.
+</para>
</summary>
</cvar>
<cvar name="WIN32DEFPREFIX">
<summary>
+<para>
A deprecated synonym for &cv-link-WINDOWSDEFPREFIX;.
+</para>
</summary>
</cvar>
<cvar name="WIN32DEFSUFFIX">
<summary>
+<para>
A deprecated synonym for &cv-link-WINDOWSDEFSUFFIX;.
+</para>
</summary>
</cvar>
<cvar name="WIN32EXPPREFIX">
<summary>
+<para>
A deprecated synonym for &cv-link-WINDOWSEXPSUFFIX;.
+</para>
</summary>
</cvar>
<cvar name="WIN32EXPSUFFIX">
<summary>
+<para>
A deprecated synonym for &cv-link-WINDOWSEXPSUFFIX;.
+</para>
</summary>
</cvar>
<cvar name="WINDOWS_INSERT_DEF">
<summary>
+<para>
When this is set to true,
a library build of a Windows shared library
(<filename>.dll</filename> file)
@@ -207,67 +263,88 @@ at the same time,
if a <filename>.def</filename> file
is not already listed as a build target.
The default is 0 (do not build a <filename>.def</filename> file).
+</para>
</summary>
</cvar>
<cvar name="WINDOWS_INSERT_MANIFEST">
<summary>
+<para>
When this is set to true,
&scons;
will be aware of the
<filename>.manifest</filename>
files generated by Microsoft Visua C/C++ 8.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSDEFPREFIX">
<summary>
+<para>
The prefix used for Windows <filename>.def</filename> file names.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSDEFSUFFIX">
<summary>
+<para>
The suffix used for Windows <filename>.def</filename> file names.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSEXPPREFIX">
<summary>
+<para>
The prefix used for Windows <filename>.exp</filename> file names.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSEXPSUFFIX">
<summary>
+<para>
The suffix used for Windows <filename>.exp</filename> file names.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSPROGMANIFESTPREFIX">
<summary>
+<para>
The prefix used for executable program <filename>.manifest</filename> files
generated by Microsoft Visual C/C++.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSPROGMANIFESTSUFFIX">
<summary>
+<para>
The suffix used for executable program <filename>.manifest</filename> files
generated by Microsoft Visual C/C++.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSSHLIBMANIFESTPREFIX">
<summary>
+<para>
The prefix used for shared library <filename>.manifest</filename> files
generated by Microsoft Visual C/C++.
+</para>
</summary>
</cvar>
<cvar name="WINDOWSSHLIBMANIFESTSUFFIX">
<summary>
+<para>
The suffix used for shared library <filename>.manifest</filename> files
generated by Microsoft Visual C/C++.
+</para>
</summary>
</cvar>
+
+</sconsdoc> \ No newline at end of file