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. --- mp/src/vpc_scripts/source_dll_win32_release.vpc | 323 ++++++++++++++++++++++++ 1 file changed, 323 insertions(+) create mode 100644 mp/src/vpc_scripts/source_dll_win32_release.vpc (limited to 'mp/src/vpc_scripts/source_dll_win32_release.vpc') diff --git a/mp/src/vpc_scripts/source_dll_win32_release.vpc b/mp/src/vpc_scripts/source_dll_win32_release.vpc new file mode 100644 index 00000000..997d5809 --- /dev/null +++ b/mp/src/vpc_scripts/source_dll_win32_release.vpc @@ -0,0 +1,323 @@ +//----------------------------------------------------------------------------- +// SOURCE_DLL_WIN32_RELEASE.VPC +// +// Base Settings for all Source(TM) Projects +//----------------------------------------------------------------------------- + +$IgnoreRedundancyWarning "ON" + +$MacroRequired "PLATSUBDIR" +$MacroRequired "SRCDIR" +$MacroRequired "OUTBINNAME" +$MacroRequired "OUTBINDIR" + +$Configuration "Release" +{ + $General + { + // General + $OutputDirectory ".\Release$PLATSUBDIR" + $IntermediateDirectory ".\Release$PLATSUBDIR" + $ExtensionsToDeleteOnClean + $BuildLogFile + $InheritedProjectPropertySheets + + // Project Defaults + $ConfigurationType "Dynamic Library (.dll)" + $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 (/Zi)" + $SuppressStartupBanner + $WarningLevel "Level 4 (/W4)" + $Detect64bitPortabilityIssues "Yes (/Wp64)" + $TreatWarningsAsErrors + $UseUNICODEResponseFiles + + // Optimization + $Optimization "Maximize Speed (/O2)" + $InlineFunctionExpansion "Any Suitable (/Ob2)" + $EnableIntrinsicFunctions "Yes (/Oi)" + $FavorSizeOrSpeed "Favor Fast Code (/Ot)" + $OmitFramePointers + $EnableFiberSafeOptimizations + $WholeProgramOptimization + + // Preprocessor + $PreprocessorDefinitions "WIN32;_WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;DLLNAME=$OUTBINNAME" + // Enable asserts in release builds if /define:releaseasserts is specified on the VPC command line. + $PreprocessorDefinitions "$BASE;RELEASEASSERTS" [$RELEASEASSERTS] + $PreprocessorDefinitions "$BASE;RAD_TELEMETRY_DISABLED" [$SOURCESDK] + $IgnoreStandardIncludePath + $GeneratePreprocessedFile + $KeepComments + + // Code Generation + $EnableStringPooling "Yes (/GF)" + $EnableMinimalRebuild + $EnableC++Exceptions "No" + $SmallerTypeCheck + $BasicRuntimeChecks + $RuntimeLibrary "Multi-threaded (/MT)" + $StructMemberAlignment + $BufferSecurityCheck "Yes" [$STAGING_ONLY] + $BufferSecurityCheck "No" [!$STAGING_ONLY] + $EnableFunctionLevelLinking "Yes (/Gy)" + $EnableEnhancedInstructionSet + $EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)" [$WIN32] + $FloatingPointModel "Fast (/fp:fast)" + $EnableFloatingPointExceptions + + // Language + $DisableLanguageExtensions + $DefaultCharUnsigned + $TreatWCHAR_TAsBuiltInType + $ForceConformanceInForLoopScope "Yes (/Zc:forScope)" + $EnableRunTimeTypeInfo "Yes (/GR)" + $OpenMPSupport + + // Precompiled Headers + $Create/UsePrecompiledHeader "Not Using Precompiled Headers" + $Create/UsePCHThroughFile + $PrecompiledHeaderFile + + // Output Files + $ExpandAttributedSource + $AssemblerOutput + $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" + // Enable extra debugging information. + $AdditionalOptions "$BASE /d2Zi+" + } + + $Linker + { + // General + $OutputFile "$(OutDir)/$OUTBINNAME.dll" + $ShowProgress "Not Set" + $Version + $EnableIncrementalLinking "No (/INCREMENTAL:NO)" + $SuppressStartupBanner "Yes (/NOLOGO)" + $IgnoreImportLibrary + $RegisterOutput + $AdditionalLibraryDirectories "$LIBCOMMON;$LIBPUBLIC" + $LinkLibraryDependencies + $UseLibraryDependencyInputs + $UseUNICODEResponseFiles "No" + + // Input + $AdditionalDependencies + $IgnoreAllDefaultLibraries + $IgnoreSpecificLibrary "libc;libcd;libcmtd" + $ModuleDefinitionFile + $AddModuleToAssembly + $EmbedManagedResourceFile + $ForceSymbolReferences + $DelayLoadedDLLs + $AssemblyLinkResource + + // Manifest File + $GenerateManifest "No" + $ManifestFile + $AdditionalManifestDependencies + $AllowIsolation + + // Debugging + $GenerateDebugInfo "Yes (/DEBUG)" + $GenerateProgramDatabaseFile "$(IntDir)/$(TargetName).pdb" + $StripPrivateSymbols + $GenerateMapFile "No" + $MapFileName "$(IntDir)/$(TargetName).map" + $MapExports + $DebuggableAssembly + + // System + $SubSystem "Windows (/SUBSYSTEM:WINDOWS)" + $HeapReserveSize + $HeapCommitSize + $StackReserveSize + $StackCommitSize + $EnableLargeAddresses + $TerminalServer + $SwapRunFromCD + $SwapRunFromNetwork + $Driver + + // Optimization + $References "Eliminate Unreferenced Data (/OPT:REF)" + $EnableCOMDATFolding "Remove Redundant COMDATs (/OPT:ICF)" + $OptimizeForWindows98 + $FunctionOrder + $ProfileGuidedDatabase + $LinkTimeCodeGeneration + + // Embedded IDL + $MIDLCommands + $IgnoreEmbeddedIDL + $MergeIDLBaseFileName + $TypeLibrary + $TypeLibResourceID + + // Advanced + $EntryPoint + $NoEntryPoint + $SetChecksum + $BaseAddress "$LOADADDRESS_DEVELOPMENT" + $BaseAddress "$LOADADDRESS_RETAIL" [$RETAIL] + $FixedBaseAddress + $TurnOffAssemblyGeneration + $DelayLoadedDLL + $ImportLibrary + $MergeSections + $Profile + $CLRThreadAttribute + $CLRImageType + $KeyFile + $KeyContainer + $DelaySign + $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)" + $CLRUnmanagedCodeCheck + + // Command Line + $AdditionalOptions "$BASE /DYNAMICBASE" + } + + $ManifestTool + { + // General + $SuppressStartupBanner "Yes (/nologo)" + $VerboseOutput + $AssemblyIdentity + $UseUNICODEResponseFiles + $UseFAT32WorkAround + + // Input And Output + $AdditionalManifestFiles + $InputResourceManifests + $EmbedManifest + $OutputManifestFile + $ManifestResourceFile + $GenerateCatalogFiles + $DependencyInformationFile + + // Isolated COM + $TypeLibraryFile + $RegistrarScriptFile + $ComponentFileName + $ReplacementsFile + + // Advanced + $UpdateFileHashes + $UpdateFileHashesSearchPath + + // Command Line + $AdditionalOptions + } + + $XMLDocumentGenerator + { + // General + $SuppressStartupBanner "Yes (/nologo)" + $ValidateIntelliSense + $AdditionalDocumentFiles + $OutputDocumentFile + $DocumentLibraryDependencies + $UseUNICODEResponseFiles + } + + $BrowseInformation + { + $SuppressStartupBanner "Yes (/nologo)" + $OutputFile "$(OutDir)/$OUTBINNAME.bsc" + $AdditionalOptions + } + + $Resources + { + // General + $PreprocessorDefinitions "NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE" + $Culture "English (United States) (0x409)" + $AdditionalIncludeDirectories + $IgnoreStandardIncludePath + $ShowProgress + $ResourceFileName + + // Command Line + $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