aboutsummaryrefslogtreecommitdiff
path: root/mp/src/vpc_scripts/source_exe_win_win32_base.vpc
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-12-08 01:27:41 -0800
committerNarendra Umate <[email protected]>2013-12-08 01:27:41 -0800
commit4fa56874ba1557274c10077bf8386ece4c61dbd6 (patch)
treee2d336604e960b548e996d2e7dcfc5a1e1401b9e /mp/src/vpc_scripts/source_exe_win_win32_base.vpc
parentAdded DS_Store to .gitignore. (diff)
parentMake libSDL2.so/dylib into symlinks. (diff)
downloadsource-sdk-2013-4fa56874ba1557274c10077bf8386ece4c61dbd6.tar.xz
source-sdk-2013-4fa56874ba1557274c10077bf8386ece4c61dbd6.zip
Merge remote-tracking branch 'upstream/master'
Reverted .gitattributes xcode_ccache_wrapper change. Fixed line endings for .gitignore and .gitattributes.
Diffstat (limited to 'mp/src/vpc_scripts/source_exe_win_win32_base.vpc')
-rw-r--r--mp/src/vpc_scripts/source_exe_win_win32_base.vpc18
1 files changed, 17 insertions, 1 deletions
diff --git a/mp/src/vpc_scripts/source_exe_win_win32_base.vpc b/mp/src/vpc_scripts/source_exe_win_win32_base.vpc
index 9a79a68d..22b3896f 100644
--- a/mp/src/vpc_scripts/source_exe_win_win32_base.vpc
+++ b/mp/src/vpc_scripts/source_exe_win_win32_base.vpc
@@ -39,7 +39,7 @@ $Configuration
$Compiler [$WIN32]
{
- $EnableEnhancedInstructionSet "Streaming SIMD Extensions 2 (/arch:SSE2)"
+ $EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)"
}
$Linker
@@ -98,6 +98,22 @@ $Project
}
}
}
+
+ // Implement __imp__EncodePointer and __imp__DecodePointer so that we can run on XP SP1
+ // when building with VS 2010.
+ $File "$SRCDIR\public\tier0\pointeroverride.asm" [$WIN32 && $VS2010]
+ {
+ $Configuration
+ {
+ $CustomBuildStep
+ {
+ // General
+ $CommandLine "$QUOTE$(VCInstallDir)bin\ml.exe$QUOTE /c /Cp /Zi /Fo$QUOTE$(IntDir)\$(InputName).obj$QUOTE $QUOTE$(InputPath)$QUOTE"
+ $Description "Compiling pointeroverride.asm"
+ $Outputs "$(IntDir)\$(InputName).obj"
+ }
+ }
+ }
}
$Folder "Link Libraries"