diff options
Diffstat (limited to 'src/engine/SCons/Tool/msvc.xml')
-rw-r--r-- | src/engine/SCons/Tool/msvc.xml | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/engine/SCons/Tool/msvc.xml b/src/engine/SCons/Tool/msvc.xml index 17cec19..e62a845 100644 --- a/src/engine/SCons/Tool/msvc.xml +++ b/src/engine/SCons/Tool/msvc.xml @@ -289,21 +289,28 @@ tool initialization will fail. <cvar name="HOST_ARCH"> <summary> -Sets the host arch for Visual Studio compiler. If not set, default to the -detected host architecture: note that this may depend on the python you are -using. +Sets the host architecture for Visual Studio compiler. If not set, +default to the detected host architecture: note that this may depend +on the python you are using. Valid values are the same as for &cv-TARGET_ARCH;. +This is currently only used on Windows, but in the future it will be +used on other OSes as well. </summary> </cvar> <cvar name="TARGET_ARCH"> <summary> -Sets the target arch for Visual Studio compiler (i.e. the arch of the binaries -generated by the compiler). If not set, default to &cv-HOST_ARCH;. - -Valid values are 'x86', 'i386' (for 32 bits), 'amd64', 'emt64', 'x86_64' (64 -bits) and 'ia64' (Itanium). For example, if you want to compile 64 bits -binaries, you would set TARGET_ARCH='x86_64' in your environment. +Sets the target architecture for Visual Studio compiler (i.e. the arch +of the binaries generated by the compiler). If not set, default to +&cv-HOST_ARCH;. +This is currently only used on Windows, but in the future it will be +used on other OSes as well. + +Valid values for Windows are 'x86', 'i386' (for 32 bits); +'amd64', 'emt64', 'x86_64' (64 bits); +and 'ia64' (Itanium). +For example, if you want to compile 64-bit binaries, you would set +TARGET_ARCH='x86_64' in your SCons environment. </summary> </cvar> |