mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-21 04:56:01 +08:00
Update from SDK 2013
This commit is contained in:

committed by
Nicholas Hastings

parent
6d5c024820
commit
94b660e16e
35
vpc_scripts/source_base.vpc
Normal file
35
vpc_scripts/source_base.vpc
Normal file
@ -0,0 +1,35 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// 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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user