From 77b376f8a0d8d172c51729762f80bb394534aa41 Mon Sep 17 00:00:00 2001 From: Joe Ludwig Date: Thu, 4 Jul 2013 11:20:31 -0700 Subject: * Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details. * Pulled in bug fixes from HL2 and HL2MP. --- sp/src/vpc_scripts/source_lib_win32_debug.vpc | 202 ++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 sp/src/vpc_scripts/source_lib_win32_debug.vpc (limited to 'sp/src/vpc_scripts/source_lib_win32_debug.vpc') diff --git a/sp/src/vpc_scripts/source_lib_win32_debug.vpc b/sp/src/vpc_scripts/source_lib_win32_debug.vpc new file mode 100644 index 00000000..a3eba728 --- /dev/null +++ b/sp/src/vpc_scripts/source_lib_win32_debug.vpc @@ -0,0 +1,202 @@ +//----------------------------------------------------------------------------- +// SOURCE_LIB_WIN32_DEBUG.VPC +// +// Base Settings for all Source(TM) Projects +//----------------------------------------------------------------------------- + +$IgnoreRedundancyWarning "ON" + +$MacroRequired "PLATSUBDIR" +$MacroRequired "SRCDIR" +$MacroRequired "OUTLIBNAME" +$MacroRequired "OUTLIBDIR" + +$Configuration "Debug" +{ + $General + { + // General + $IntermediateDirectory ".\Debug$PLATSUBDIR" + $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)" [!$EANDCDISABLED && !$WIN64] + $DebugInformationFormat "Program Database (/Zi)" [$EANDCDISABLED || $WIN64] + $SuppressStartupBanner + $WarningLevel "Level 4 (/W4)" + $Detect64bitPortabilityIssues "Yes (/Wp64)" + $TreatWarningsAsErrors + $UseUNICODEResponseFiles "No" + + // Optimization + $Optimization "Disabled (/Od)" + $InlineFunctionExpansion + $EnableIntrinsicFunctions + $FavorSizeOrSpeed + $OmitFramePointers + $EnableFiberSafeOptimizations + $WholeProgramOptimization + + // Preprocessor + $PreprocessorDefinitions "_HAS_ITERATOR_DEBUGGING=0;WIN32;_WIN32;_DEBUG;DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE" + $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 + $EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [$WIN32] + $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 + $OmitDefaultLibraryNames + $ErrorReporting "Prompt Immediately (/errorReport:prompt)" + + // Command Line + $AdditionalOptions "$BASE /MP" + } + + $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 + } +} \ No newline at end of file -- cgit v1.2.3