From 140d836e9cd54fb67b969fd82ef7ed19ba574d40 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 26 Apr 2014 15:11:58 +0200 Subject: Imported Upstream version 2.3.1 --- src/engine/SCons/Tool/cc.xml | 99 ++++++++++++++++++++++++++++++++------------ 1 file changed, 73 insertions(+), 26 deletions(-) (limited to 'src/engine/SCons/Tool/cc.xml') diff --git a/src/engine/SCons/Tool/cc.xml b/src/engine/SCons/Tool/cc.xml index 1860c25..ec2b5ee 100644 --- a/src/engine/SCons/Tool/cc.xml +++ b/src/engine/SCons/Tool/cc.xml @@ -1,79 +1,111 @@ + + + +%scons; + +%builders-mod; + +%functions-mod; + +%tools-mod; + +%variables-mod; +]> + + + + Sets construction variables for generic POSIX C copmilers. + - -FRAMEWORKS -FRAMEWORKPATH -CC -CFLAGS -CCFLAGS -CCCOM -SHCC -SHCFLAGS -SHCCFLAGS -SHCCCOM -CPPDEFPREFIX -CPPDEFSUFFIX -INCPREFIX -INCSUFFIX -SHOBJSUFFIX - -CFILESUFFIX + +FRAMEWORKS +FRAMEWORKPATH +CC +CFLAGS +CCFLAGS +CCCOM +SHCC +SHCFLAGS +SHCCFLAGS +SHCCCOM +CPPDEFPREFIX +CPPDEFSUFFIX +INCPREFIX +INCSUFFIX +SHOBJSUFFIX + +CFILESUFFIX -PLATFORM +PLATFORM + The C compiler. + + The command line used to compile a C source file to a (static) object file. Any options specified in the &cv-link-CFLAGS;, &cv-link-CCFLAGS; and &cv-link-CPPFLAGS; construction variables are included on this command line. + + The string displayed when a C source file is compiled to a (static) object file. If this is not set, then &cv-link-CCCOM; (the command line) is displayed. + - + env = Environment(CCCOMSTR = "Compiling static object $TARGET") - + + General options that are passed to the C and C++ compilers. + + General options that are passed to the C compiler (C only; not C++). + + User-specified C preprocessor options. These will be included in any command that uses the C preprocessor, including not just compilation of C and C++ source files @@ -97,65 +129,80 @@ contain that scons generates automatically from &cv-link-CPPPATH;. See &cv-link-_CPPINCFLAGS;, below, for the variable that expands to those options. + + The list of suffixes of files that will be scanned for C preprocessor implicit dependencies (#include lines). The default list is: + - + [".c", ".C", ".cxx", ".cpp", ".c++", ".cc", ".h", ".H", ".hxx", ".hpp", ".hh", ".F", ".fpp", ".FPP", ".m", ".mm", ".S", ".spp", ".SPP"] - + + The C compiler used for generating shared-library objects. + + The command line used to compile a C source file to a shared-library object file. Any options specified in the &cv-link-SHCFLAGS;, &cv-link-SHCCFLAGS; and &cv-link-CPPFLAGS; construction variables are included on this command line. + + The string displayed when a C source file is compiled to a shared object file. If this is not set, then &cv-link-SHCCCOM; (the command line) is displayed. + - + env = Environment(SHCCCOMSTR = "Compiling shared object $TARGET") - + + Options that are passed to the C and C++ compilers to generate shared-library objects. + + Options that are passed to the C compiler (only; not C++) to generate shared-library objects. + + + \ No newline at end of file -- cgit v1.2.3