aboutsummaryrefslogtreecommitdiff
path: root/sp/src/vpc_scripts/source_base.vpc
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-09-02 11:39:10 -0700
committerJoe Ludwig <[email protected]>2013-09-02 11:39:10 -0700
commita0c29e7dd67abb15c74c85f07741784877edfdcd (patch)
tree35bd6b4580afa14648895b0f321d33a712a5d0fa /sp/src/vpc_scripts/source_base.vpc
parentAdded bloom shader and screenspace effect helpers as examples for the SDK. (diff)
downloadsource-sdk-2013-a0c29e7dd67abb15c74c85f07741784877edfdcd.tar.xz
source-sdk-2013-a0c29e7dd67abb15c74c85f07741784877edfdcd.zip
General:
* Fixed a variety of server browser issues with mods based on this SDK * Fixed many warnings on various platforms * Added source code for fgdlib and raytrace * Updated many source files with the latest shared source from TF2. OSX: * Added support for Xcode 4.6 * Switched OSX builds to use Xcode instead of makefiles * Moved libs from src/lib/osx32 to src/lib/public/osx32 or src/lib/common/osx32 to match windows better. Linux: * Moved libs from src/lib/linux32 to src/lib/public/linux32 or src/lib/common/linux32 to match windows better.
Diffstat (limited to 'sp/src/vpc_scripts/source_base.vpc')
-rw-r--r--sp/src/vpc_scripts/source_base.vpc29
1 files changed, 29 insertions, 0 deletions
diff --git a/sp/src/vpc_scripts/source_base.vpc b/sp/src/vpc_scripts/source_base.vpc
index fc70c2e5..86722a3a 100644
--- a/sp/src/vpc_scripts/source_base.vpc
+++ b/sp/src/vpc_scripts/source_base.vpc
@@ -15,3 +15,32 @@
// rel/tf_beta branch:
//$Conditional TF_BETA "1"
+$Configuration "Debug"
+{
+ $Compiler
+ {
+ // Pass on appropriate branch define to preprocessor
+ $PreprocessorDefinitions "VPC"
+ $PreprocessorDefinitions "$BASE;STAGING_ONLY" [$STAGING_ONLY]
+ $PreprocessorDefinitions "$BASE;TF_BETA" [$TF_BETA]
+ $PreprocessorDefinitions "$BASE;RAD_TELEMETRY_DISABLED" [$SOURCESDK]
+// Need to revisit the code to make things run with the _RETAIL preprocessor definition
+// This line was added in the previous check-in, but had previously not been defined in this branch
+// $PreprocessorDefinitions "$BASE;_RETAIL" [$RETAIL]
+ }
+}
+
+$Configuration "Release"
+{
+ $Compiler
+ {
+ // Pass on appropriate branch define to preprocessor
+ $PreprocessorDefinitions "VPC"
+ $PreprocessorDefinitions "$BASE;STAGING_ONLY" [$STAGING_ONLY]
+ $PreprocessorDefinitions "$BASE;TF_BETA" [$TF_BETA]
+ $PreprocessorDefinitions "$BASE;RAD_TELEMETRY_DISABLED" [$SOURCESDK]
+// Need to revisit the code to make things run with the _RETAIL preprocessor definition
+// This line was added in the previous check-in, but had previously not been defined in this branch
+// $PreprocessorDefinitions "$BASE;_RETAIL" [$RETAIL]
+ }
+}