mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-05-16 00:28:06 +03:00
* Adds support for Visual Studio 2012 and 2013 * VR Mode: . Switches from headtrack.dll to sourcevr.dll . Improved readability of the UI in VR . Removed the IPD calibration tool. TF2 will now obey the Oculus configuration file. Use the Oculus calibration tool in your SDK or install and run "OpenVR" under Tools in Steam to calibrate your IPD. . Added dropdown to enable VR mode in the Video options. Removed the -vr command line option. . Added the ability to switch in and out of VR mode without quitting the game . By default VR mode will run full screen. To switch back to a borderless window set the vr_force_windowed convar. . Added support for VR mode on Linux * Many assorted bug fixes and other changes from Team Fortress in various shared files
208 lines
5.3 KiB
Plaintext
208 lines
5.3 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// SOURCE_LIB_WIN32_DEBUG.VPC
|
|
//
|
|
// Base Settings for all Source(TM) Projects
|
|
//-----------------------------------------------------------------------------
|
|
|
|
$IgnoreRedundancyWarning "ON"
|
|
|
|
$MacroRequired "SRCDIR"
|
|
$MacroRequired "OUTLIBNAME"
|
|
$MacroRequired "OUTLIBDIR"
|
|
$MacroRequired "LIBPUBLIC"
|
|
$MacroRequired "LIBCOMMON"
|
|
$MacroRequired "PLATSUBDIR"
|
|
$MacroRequiredAllowEmpty "GAMENAME"
|
|
$MacroRequiredAllowEmpty "INTERMEDIATESUBDIR"
|
|
$MacroRequiredAllowEmpty "_UNITYSUBDIR"
|
|
$MacroRequiredAllowEmpty "_STATICSUBDIR"
|
|
$Macro "_SUBDIRSUFFIX" "$INTERMEDIATESUBDIR$_STATICSUBDIR$GAMENAME$PLATSUBDIR$_UNITYSUBDIR"
|
|
|
|
$Configuration "Debug"
|
|
{
|
|
$General
|
|
{
|
|
// General
|
|
$OutputDirectory ".\Debug$_SUBDIRSUFFIX" [!$VS2010]
|
|
$OutputDirectory "$OUTLIBDIR" [$VS2010]
|
|
$IntermediateDirectory ".\Debug$_SUBDIRSUFFIX"
|
|
$ExtensionsToDeleteOnClean
|
|
$BuildLogFile
|
|
$InheritedProjectPropertySheets
|
|
|
|
// Project Defaults
|
|
$ConfigurationType "Static Library (.lib)"
|
|
$UseOfMFC
|
|
$UseOfATL
|
|
$MinimizeCRTUseInATL
|
|
$CharacterSet "Use Multi-Byte Character Set"
|
|
$CommonLanguageRuntimeSupport
|
|
$WholeProgramOptimization
|
|
}
|
|
|
|
$Debugging
|
|
{
|
|
$Command
|
|
$CommandArguments
|
|
$WorkingDirectory
|
|
$Attach
|
|
$DebuggerType
|
|
$Environment
|
|
$MergeEnvironment
|
|
$SQLDebugging
|
|
}
|
|
|
|
$Compiler
|
|
{
|
|
// General
|
|
$AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
|
|
$Resolve#UsingReferences
|
|
$DebugInformationFormat "Program Database for Edit & Continue (/ZI)" [$WIN32]
|
|
$DebugInformationFormat "Program Database (/Zi)" [$WIN64]
|
|
$SuppressStartupBanner
|
|
$WarningLevel "Level 4 (/W4)"
|
|
$Detect64bitPortabilityIssues "Yes (/Wp64)"
|
|
$TreatWarningsAsErrors
|
|
$UseUNICODEResponseFiles "No"
|
|
|
|
// Optimization
|
|
$Optimization "Disabled (/Od)"
|
|
$InlineFunctionExpansion
|
|
$EnableIntrinsicFunctions
|
|
$FavorSizeOrSpeed
|
|
$OmitFramePointers
|
|
$EnableFiberSafeOptimizations
|
|
$WholeProgramOptimization
|
|
|
|
// Preprocessor
|
|
$PreprocessorDefinitions "$BASE;_HAS_ITERATOR_DEBUGGING=0;WIN32;_WIN32;_DEBUG;DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_ALLOW_RUNTIME_LIBRARY_MISMATCH;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_ALLOW_MSC_VER_MISMATCH;%(PreprocessorDefinitions)"
|
|
$IgnoreStandardIncludePath
|
|
$GeneratePreprocessedFile
|
|
$KeepComments
|
|
|
|
// Code Generation
|
|
$EnableStringPooling "Yes (/GF)"
|
|
// EnableMinimalRebuild is incompatible with /MP (multi-processor builds)
|
|
// and it also makes it hard to iterate on warnings because the compiler
|
|
// detects that there is no reason to recompile when you request it.
|
|
// It should always be off? It should definitely be off for /analyze builds.
|
|
//$EnableMinimalRebuild "Yes (/Gm)" [!$ANALYZE]
|
|
$EnableC++Exceptions "No"
|
|
$SmallerTypeCheck
|
|
$BasicRuntimeChecks "Default"
|
|
$RuntimeLibrary "Multi-threaded Debug (/MTd)"
|
|
$StructMemberAlignment
|
|
$BufferSecurityCheck "Yes"
|
|
$EnableFunctionLevelLinking
|
|
$EnableEnhancedInstructionSet
|
|
$FloatingPointModel "Fast (/fp:fast)"
|
|
$EnableFloatingPointExceptions
|
|
|
|
// Language
|
|
$DisableLanguageExtensions
|
|
$DefaultCharUnsigned
|
|
$TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
|
|
$ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
|
|
$EnableRunTimeTypeInfo "Yes (/GR)"
|
|
$OpenMPSupport "No"
|
|
|
|
// Precompiled Headers
|
|
$Create/UsePrecompiledHeader "Not Using Precompiled Headers"
|
|
$Create/UsePCHThroughFile
|
|
$PrecompiledHeaderFile
|
|
|
|
// Output Files
|
|
$ExpandAttributedSource "No"
|
|
$AssemblerOutput "No Listing"
|
|
$ASMListLocation "$(IntDir)/"
|
|
$ObjectFileName "$(IntDir)/"
|
|
$ProgramDatabaseFileName "$(IntDir)/"
|
|
$GenerateXMLDocumentationFiles "No"
|
|
$XMLDocumentationFileName
|
|
|
|
// Browse Information
|
|
$EnableBrowseInformation "None"
|
|
$BrowseFile "$(IntDir)/"
|
|
|
|
// Advanced
|
|
$CallingConvention
|
|
$CompileAs "Compile as C++ Code (/TP)"
|
|
$DisableSpecificWarnings
|
|
$ForceIncludes
|
|
$Force#Using
|
|
$ShowIncludes
|
|
$UndefinePreprocessorDefinitions
|
|
$UndefineAllPreprocessorDefinitions
|
|
$UseFullPaths "Yes (/FC)"
|
|
$OmitDefaultLibraryNames
|
|
$ErrorReporting "Prompt Immediately (/errorReport:prompt)"
|
|
}
|
|
|
|
$Librarian
|
|
{
|
|
// General
|
|
$OutputFile "$OUTLIBDIR\$OUTLIBNAME.lib"
|
|
$AdditionalDependencies
|
|
$AdditionalLibraryDirectories
|
|
$SuppressStartupBanner "Yes (/NOLOGO)"
|
|
$ModuleDefinitionFileName
|
|
$IgnoreAllDefaultLibraries
|
|
$IgnoreSpecificLibrary
|
|
$ExportNamedFunctions
|
|
$ForceSymbolReferences
|
|
$UseUNICODEResponseFiles "No"
|
|
$LinkLibraryDependencies
|
|
|
|
// Command Line
|
|
$AdditionalOptions
|
|
}
|
|
|
|
$XMLDocumentGenerator
|
|
{
|
|
// General
|
|
$SuppressStartupBanner "Yes (/nologo)"
|
|
$ValidateIntelliSense
|
|
$AdditionalDocumentFiles
|
|
$OutputDocumentFile
|
|
$DocumentLibraryDependencies
|
|
$UseUNICODEResponseFiles
|
|
}
|
|
|
|
$BrowseInformation
|
|
{
|
|
$SuppressStartupBanner "Yes (/nologo)"
|
|
$OutputFile "$(OutDir)/$OUTLIBNAME.bsc"
|
|
$AdditionalOptions
|
|
}
|
|
|
|
$PreBuildEvent
|
|
{
|
|
$CommandLine
|
|
$Description
|
|
$ExcludedFromBuild "No"
|
|
}
|
|
|
|
$PreLinkEvent
|
|
{
|
|
$CommandLine
|
|
$Description
|
|
$ExcludedFromBuild "No"
|
|
}
|
|
|
|
$PostBuildEvent
|
|
{
|
|
$CommandLine
|
|
$Description
|
|
$ExcludedFromBuild "No"
|
|
}
|
|
|
|
$CustomBuildStep
|
|
{
|
|
// General
|
|
$CommandLine
|
|
$Description
|
|
$Outputs
|
|
$AdditionalDependencies
|
|
}
|
|
}
|