4 This file is processed by the bin/SConsDoc.py module.
5 See its __doc__ string for a discussion of the format.
16 &cv-link-CPPDEFPREFIX;
17 &cv-link-CPPDEFSUFFIX;
21 <!-- &cv-link-STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME; -->
35 The command line used to compile a C source file to a (static) object
36 file. Any options specified in the &cv-link-CFLAGS;, &cv-link-CCFLAGS; and
37 &cv-link-CPPFLAGS; construction variables are included on this command
42 <cvar name="CCCOMSTR">
44 The string displayed when a C source file
45 is compiled to a (static) object file.
46 If this is not set, then &cv-link-CCCOM; (the command line) is displayed.
49 env = Environment(CCCOMSTR = "Compiling static object $TARGET")
56 General options that are passed to the C and C++ compilers.
62 General options that are passed to the C compiler (C only; not C++).
66 <cvar name="CPPFLAGS">
68 User-specified C preprocessor options.
69 These will be included in any command that uses the C preprocessor,
70 including not just compilation of C and C++ source files
71 via the &cv-link-CCCOM;,
74 &cv-link-SHCXXCOM; command lines,
75 but also the &cv-link-FORTRANPPCOM;,
76 &cv-link-SHFORTRANPPCOM;,
77 &cv-link-F77PPCOM; and
78 &cv-link-SHF77PPCOM; command lines
79 used to compile a Fortran source file,
80 and the &cv-link-ASPPCOM; command line
81 used to assemble an assembly language source file,
82 after first running each file through the C preprocessor.
83 Note that this variable does
84 <emphasis>not</emphasis>
87 (or similar) include search path options
88 that scons generates automatically from &cv-link-CPPPATH;.
89 See &cv-link-_CPPINCFLAGS;, below,
90 for the variable that expands to those options.
94 <cvar name="CPPSUFFIXES">
96 The list of suffixes of files that will be scanned
97 for C preprocessor implicit dependencies
102 [".c", ".C", ".cxx", ".cpp", ".c++", ".cc",
103 ".h", ".H", ".hxx", ".hpp", ".hh",
104 ".F", ".fpp", ".FPP",
106 ".S", ".spp", ".SPP"]
113 The C compiler used for generating shared-library objects.
117 <cvar name="SHCCCOM">
119 The command line used to compile a C source file
120 to a shared-library object file.
121 Any options specified in the &cv-link-SHCFLAGS;,
122 &cv-link-SHCCFLAGS; and
123 &cv-link-CPPFLAGS; construction variables
124 are included on this command line.
128 <cvar name="SHCCCOMSTR">
130 The string displayed when a C source file
131 is compiled to a shared object file.
132 If this is not set, then &cv-link-SHCCCOM; (the command line) is displayed.
135 env = Environment(SHCCCOMSTR = "Compiling shared object $TARGET")
140 <cvar name="SHCCFLAGS">
142 Options that are passed to the C and C++ compilers
143 to generate shared-library objects.
147 <cvar name="SHCFLAGS">
149 Options that are passed to the C compiler (only; not C++)
150 to generate shared-library objects.