aboutsummaryrefslogtreecommitdiff
path: root/mp/src/vpc_scripts/source_base.vpc
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/vpc_scripts/source_base.vpc')
-rw-r--r--mp/src/vpc_scripts/source_base.vpc29
1 files changed, 29 insertions, 0 deletions
diff --git a/mp/src/vpc_scripts/source_base.vpc b/mp/src/vpc_scripts/source_base.vpc
index fc70c2e5..86722a3a 100644
--- a/mp/src/vpc_scripts/source_base.vpc
+++ b/mp/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]
+ }
+}