Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.6 KiB

  1. //-----------------------------------------------------------------------------
  2. // source_base.VPC
  3. //
  4. // This is the base VPC file that is included by all others, on all platforms.
  5. //
  6. // Project Script
  7. //-----------------------------------------------------------------------------
  8. // Set which branch we are building out of.
  9. // This is one file we expect to be different between branches and so it must be merged carefully
  10. // Staging branch:
  11. //$Conditional STAGING_ONLY "1"
  12. // rel/tf_beta branch:
  13. //$Conditional TF_BETA "1"
  14. $Configuration "Debug"
  15. {
  16. $Compiler
  17. {
  18. // Pass on appropriate branch define to preprocessor
  19. $PreprocessorDefinitions "VPC"
  20. $PreprocessorDefinitions "$BASE;STAGING_ONLY" [$STAGING_ONLY]
  21. $PreprocessorDefinitions "$BASE;TF_BETA" [$TF_BETA]
  22. $PreprocessorDefinitions "$BASE;RAD_TELEMETRY_DISABLED" [$SOURCESDK]
  23. // Need to revisit the code to make things run with the _RETAIL preprocessor definition
  24. // This line was added in the previous check-in, but had previously not been defined in this branch
  25. // $PreprocessorDefinitions "$BASE;_RETAIL" [$RETAIL]
  26. }
  27. }
  28. $Configuration "Release"
  29. {
  30. $Compiler
  31. {
  32. // Pass on appropriate branch define to preprocessor
  33. $PreprocessorDefinitions "VPC"
  34. $PreprocessorDefinitions "$BASE;STAGING_ONLY" [$STAGING_ONLY]
  35. $PreprocessorDefinitions "$BASE;TF_BETA" [$TF_BETA]
  36. $PreprocessorDefinitions "$BASE;RAD_TELEMETRY_DISABLED" [$SOURCESDK]
  37. // Need to revisit the code to make things run with the _RETAIL preprocessor definition
  38. // This line was added in the previous check-in, but had previously not been defined in this branch
  39. // $PreprocessorDefinitions "$BASE;_RETAIL" [$RETAIL]
  40. }
  41. }