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