1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/vpc_scripts/source_base.vpc
Joe Ludwig 39d16ca147 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.
2013-09-02 11:39:10 -07:00

47 lines
1.7 KiB
Plaintext

//-----------------------------------------------------------------------------
// 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]
}
}