aboutsummaryrefslogtreecommitdiff
path: root/mp/src/vpc_scripts/source_win32_base.vpc
diff options
context:
space:
mode:
authorMichael Sartain <[email protected]>2014-10-02 08:25:55 -0700
committerMichael Sartain <[email protected]>2014-10-02 08:25:55 -0700
commit55ed12f8d1eb6887d348be03aee5573d44177ffb (patch)
tree3686f7ca78c780cd9a3d367b79a9d9250c1be7c0 /mp/src/vpc_scripts/source_win32_base.vpc
parent* Added support for Visual C++ 2013 Express to VPC (diff)
downloadsource-sdk-2013-55ed12f8d1eb6887d348be03aee5573d44177ffb.tar.xz
source-sdk-2013-55ed12f8d1eb6887d348be03aee5573d44177ffb.zip
Updated the SDK with the latest code from the TF and HL2 branches.
Diffstat (limited to 'mp/src/vpc_scripts/source_win32_base.vpc')
-rw-r--r--mp/src/vpc_scripts/source_win32_base.vpc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mp/src/vpc_scripts/source_win32_base.vpc b/mp/src/vpc_scripts/source_win32_base.vpc
index 245366f4..4d41cb31 100644
--- a/mp/src/vpc_scripts/source_win32_base.vpc
+++ b/mp/src/vpc_scripts/source_win32_base.vpc
@@ -8,6 +8,7 @@ $Configuration
$General
{
// Request a specific compiler toolset.
+ $PlatformToolset "v100" [$VS2010]
$PlatformToolset "v110_xp" [$VS2012 && !$ANALYZE] // VS 2012 targeting Windows XP - http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx
$PlatformToolset "v110" [$VS2012 && $ANALYZE] // VS 2012 for /analyze
$PlatformToolset "v120_xp" [$VS2013 && !$ANALYZE] // VS 2013 targeting Windows XP - http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx
@@ -50,5 +51,8 @@ $Configuration
// effect. This option does not show up in the IDE so we need to add it in $AdditionalOptions.
// http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
$AdditionalOptions "$BASE /Gw" [$VS2013]
+ // Strip unreferenced inline functions from object files to shrink .obj files and .lib files,
+ // improve linker speed, and improve conformance. Requires VS 2013 Update 3
+ $AdditionalOptions "$BASE /Zc:inline" [$VS2013]
}
}