mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// source_base.VPC
|
|
//
|
|
// This is the base VPC file that is included by all others, on all platforms.
|
|
//
|
|
// Project Script
|
|
//-----------------------------------------------------------------------------
|
|
|
|
$MacroRequired VPC_TRIVIAL_DEPENDENCY_PATH "$SRCDIR/vpc_scripts/vpc_trivial_dependency.txt"
|
|
|
|
$Macro "DEFAULT_RUN_ARGS" "-dev -w 1920 -h 1080 -windowed"
|
|
|
|
$Configuration "Debug"
|
|
{
|
|
$Compiler
|
|
{
|
|
// Pass on appropriate branch define to preprocessor
|
|
$PreprocessorDefinitions "VPC"
|
|
// Pass /Define:USE_MEM_DEBUG along, as it is off by default (and scattered everywhere)
|
|
$PreprocessorDefinitions "$BASE;USE_MEM_DEBUG" [$USE_MEM_DEBUG]
|
|
$PreprocessorDefinitions "$BASE;SOURCESDK" [$SOURCESDK]
|
|
$PreprocessorDefinitions "$BASE;SOURCE_HAS_FREETYPE"
|
|
}
|
|
}
|
|
|
|
$Configuration "Release"
|
|
{
|
|
$Compiler
|
|
{
|
|
// Pass on appropriate branch define to preprocessor
|
|
$PreprocessorDefinitions "VPC"
|
|
$PreprocessorDefinitions "$BASE;SOURCESDK" [$SOURCESDK]
|
|
$PreprocessorDefinitions "$BASE;SOURCE_HAS_FREETYPE"
|
|
}
|
|
}
|