root/cafu/trunk/CompilerSetup.py.tmpl

Revision 136, 2.3 KB (checked in by Carsten, 18 months ago)

Reintegrated branches/cafu_to_wx back into trunk!

Line 
1# -*- coding: utf-8 -*-
2from SCons.Script import *
3
4# Edit the settings and paths in this file as required for your system.
5
6
7# envCommon is the common base environment for constructing all Cafu programs.
8# The base environment defines the target platform and architecture and the
9# compiler and other tools for the built. It is normally initialized without
10# any parameters, which means that the installed compiler and other details
11# are automatically detected.
12#
13# MSVC_VERSION sets the version of Visual C/C++ to use.
14#   Set it to an unexpected value (e.g. "XXX") to see the valid values for
15#   your system, such as "8.0", "8.0Exp", "9.0", "9.0Exp", "10.0", "10.0Exp".
16#   If not set, SCons will select the latest version of Visual C/C++ installed
17#   on your system.
18#
19# TARGET_ARCH sets the target architecture for the Visual C/C++ compiler.
20#   It is currently unused under Linux, where the host architecture determines
21#   the target architecture. Valid values are:
22#         "x86" or "i386" for 32 bit builds,
23#         "x86_64" or "amd64" for 64 bit builds,
24#         "ia64" for Itanium builds.
25#
26# Examples:
27#   # Auto-detect the latest installed compiler, tools, and target platform.
28#   envCommon=Environment();
29#
30#   # Print all valid values for MSVC_VERSION on your system.
31#   envCommon=Environment(MSVC_VERSION="XXX");
32#
33#   # Use Visual C/C++ version 9 (2008), Express Edition.
34#   envCommon=Environment(MSVC_VERSION="9.0Exp");
35#
36#   # Use the latest Visual C/C++ version for creating 32 bit binaries.
37#   envCommon=Environment(TARGET_ARCH="x86");
38#
39#   # Use Visual C/C++ version 9 (2008) for creating 32 bit binaries.
40#   envCommon=Environment(MSVC_VERSION="9.0", TARGET_ARCH="x86");
41#
42# See the SCons man page at
43# <http://www.scons.org/doc/2.0.0.final.0/HTML/scons-man.html> for full
44# details about possible parameters to Environment().
45envCommon=Environment();
46
47
48# This string describes all program variants that should be built:
49# Insert a "d" for having all code being built in the debug   variant.
50# Insert a "p" for having all code being built in the profile variant.
51# Insert a "r" for having all code being built in the release variant.
52# This can be overridden at the command line via the "bv" parameter.
53# Example: scons -Q bv=dpr
54buildVariants="dr";
Note: See TracBrowser for help on using the browser.