summaryrefslogtreecommitdiff
path: root/vpc_scripts/source_base.vpc
diff options
context:
space:
mode:
Diffstat (limited to 'vpc_scripts/source_base.vpc')
-rw-r--r--vpc_scripts/source_base.vpc46
1 files changed, 46 insertions, 0 deletions
diff --git a/vpc_scripts/source_base.vpc b/vpc_scripts/source_base.vpc
new file mode 100644
index 0000000..17de60e
--- /dev/null
+++ b/vpc_scripts/source_base.vpc
@@ -0,0 +1,46 @@
+//-----------------------------------------------------------------------------
+// source_base.VPC
+//
+// This is the base VPC file that is included by all others, on all platforms.
+//
+// Project Script
+//-----------------------------------------------------------------------------
+
+// Set which branch we are building out of.
+// This is one file we expect to be different between branches and so it must be merged carefully
+
+// Staging branch:
+//$Conditional STAGING_ONLY "1"
+
+// 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]
+ }
+}