You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
263 lines
6.3 KiB
263 lines
6.3 KiB
5 years ago
|
//-----------------------------------------------------------------------------
|
||
|
// SOURCE_XEX_X360_RELEASE.VPC
|
||
|
//
|
||
|
// Base Settings for Source(TM) Projects
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
$MacroRequired "LOADADDRESS_RETAIL"
|
||
|
$MacroRequired "SRCDIR"
|
||
|
$MacroRequired "OUTBINNAME"
|
||
|
$MacroRequired "OUTBINDIR"
|
||
|
|
||
|
$IgnoreRedundancyWarning "ON"
|
||
|
|
||
|
$Configuration "Release"
|
||
|
{
|
||
|
$General
|
||
|
{
|
||
|
// General
|
||
|
$OutputDirectory ".\Release_360"
|
||
|
$IntermediateDirectory ".\Release_360"
|
||
|
$ExtensionsToDeleteOnClean
|
||
|
$BuildLogFile
|
||
|
$InheritedProjectPropertySheets
|
||
|
|
||
|
// Project Defaults
|
||
|
$ConfigurationType "Application (.exe)"
|
||
|
$CharacterSet "Not Set"
|
||
|
$WholeProgramOptimization
|
||
|
}
|
||
|
|
||
|
$Debugging
|
||
|
{
|
||
|
$Command "$(RemoteRoot)\$(TargetFileName)"
|
||
|
$CommandArguments
|
||
|
$MapDVDDrive
|
||
|
$RemoteMachine
|
||
|
}
|
||
|
|
||
|
$Compiler
|
||
|
{
|
||
|
// General
|
||
|
$AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
|
||
|
$DebugInformationFormat "Program Database (/Zi)"
|
||
|
$SuppressStartupBanner "Yes (/nologo)"
|
||
|
$WarningLevel "Level 4 (/W4)"
|
||
|
$TreatWarningsAsErrors "No"
|
||
|
$UseUNICODEResponseFiles "No"
|
||
|
|
||
|
// Optimization
|
||
|
$Optimization "Full Optimization (/Ox)"
|
||
|
$InlineFunctionExpansion "Any Suitable (/Ob2)"
|
||
|
$EnableIntrinsicFunctions "Yes (/Oi)"
|
||
|
$FavorSizeOrSpeed "Favor Fast Code (/Ot)"
|
||
|
$EnableFiberSafeOptimizations
|
||
|
$WholeProgramOptimization
|
||
|
|
||
|
// Preprocessor
|
||
|
$PreprocessorDefinitions "_X360;NDEBUG;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;__VMX128_SUPPORTED"
|
||
|
$PreprocessorDefinitions "$BASE;_CERT" [$CERT]
|
||
|
$IgnoreStandardIncludePath
|
||
|
$GeneratePreprocessedFile
|
||
|
$KeepComments "No"
|
||
|
|
||
|
// Code Generation
|
||
|
$EnableStringPooling "Yes (/GF)"
|
||
|
$EnableMinimalRebuild "No"
|
||
|
$EnableC++Exceptions "No"
|
||
|
$SmallerTypeCheck "No"
|
||
|
$BasicRuntimeChecks
|
||
|
$RuntimeLibrary "Multi-threaded (/MT)"
|
||
|
$StructMemberAlignment
|
||
|
$BufferSecurityCheck "No"
|
||
|
$EnableFunctionLevelLinking "Yes (/Gy)"
|
||
|
$FloatingPointModel "Fast (/fp:fast)"
|
||
|
$EnableFloatingPointExceptions "No"
|
||
|
|
||
|
// Language
|
||
|
$DisableLanguageExtensions "No"
|
||
|
$DefaultCharUnsigned "No"
|
||
|
$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)/"
|
||
|
|
||
|
// Browse Information
|
||
|
$EnableBrowseInformation "None"
|
||
|
$BrowseFile "$(IntDir)/"
|
||
|
|
||
|
// Advanced
|
||
|
$CompileAs "Compile as C++ Code (/TP)"
|
||
|
$DisableSpecificWarnings
|
||
|
$ForceIncludes "tier0/platform.h"
|
||
|
$ShowIncludes "No"
|
||
|
$UndefinePreprocessorDefinitions
|
||
|
$UndefineAllPreprocessorDefinitions "No"
|
||
|
$UseFullPaths
|
||
|
$OmitDefaultLibraryNames
|
||
|
|
||
|
// Xbox 360
|
||
|
$RegisterReservation
|
||
|
$TrapIntegerDividesOptimization
|
||
|
$PreschedulingOptimization
|
||
|
$InlineAssemblyOptimization
|
||
|
$Stalls
|
||
|
$CallAttributedProfiling
|
||
|
|
||
|
// Command Line
|
||
|
$AdditionalOptions "/QVMX128"
|
||
|
$AdditionalOptions "$BASE /DPROFILE" [$PROFILE]
|
||
|
}
|
||
|
|
||
|
$Linker
|
||
|
{
|
||
|
// General
|
||
|
$OutputFile "$(OutDir)/$OUTBINNAME.exe"
|
||
|
$ShowProgress "Not Set"
|
||
|
$Version
|
||
|
$EnableIncrementalLinking "No (/INCREMENTAL:NO)"
|
||
|
$SuppressStartupBanner "Yes (/NOLOGO)"
|
||
|
$IgnoreImportLibrary "No"
|
||
|
$AdditionalLibraryDirectories
|
||
|
$LinkLibraryDependencies
|
||
|
$UseLibraryDependencyInputs
|
||
|
$UseUNICODEResponseFiles "No"
|
||
|
|
||
|
// Input
|
||
|
$AdditionalDependencies "d3d9.lib xapilib.lib xboxkrnl.lib libpmcpb.lib" [!$PROFILE]
|
||
|
$AdditionalDependencies "d3d9i.lib xapilibi.lib xboxkrnl.lib libpmcpb.lib xbdm.lib" [$PROFILE]
|
||
|
$AdditionalDependencies "d3d9.lib xapilib.lib xboxkrnl.lib" [$CERT]
|
||
|
$IgnoreAllDefaultLibraries
|
||
|
$IgnoreSpecificLibrary "libc;libcd;libcmtd;" [!$PROFILE]
|
||
|
$IgnoreSpecificLibrary "libc;libcd;libcmtd;xapilib" [$PROFILE]
|
||
|
$ModuleDefinitionFile
|
||
|
$ForceSymbolReferences
|
||
|
|
||
|
// Debugging
|
||
|
$GenerateDebugInfo "Yes (/DEBUG)"
|
||
|
$GenerateProgramDatabaseFile "$(IntDir)/$(TargetName).pdb"
|
||
|
$StripPrivateSymbols
|
||
|
$GenerateMapFile "No"
|
||
|
$MapFileName "$(IntDir)/$(TargetName).map"
|
||
|
$MapExports "No"
|
||
|
|
||
|
// System
|
||
|
$StackCommitSize "262144"
|
||
|
|
||
|
// Optimization
|
||
|
$References "Eliminate Unreferenced Data (/OPT:REF)"
|
||
|
$EnableCOMDATFolding "Remove Redundant COMDATs (/OPT:ICF)"
|
||
|
$FunctionOrder
|
||
|
$ProfileGuidedDatabase
|
||
|
$LinkTimeCodeGeneration
|
||
|
|
||
|
// Advanced
|
||
|
$EntryPoint
|
||
|
$NoEntryPoint
|
||
|
$SetChecksum "Yes (/RELEASE)"
|
||
|
$BaseAddress "$LOADADDRESS_DEVELOPMENT"
|
||
|
$BaseAddress "$LOADADDRESS_RETAIL" [$RETAIL]
|
||
|
$FixedBaseAddress "Image must be loaded at a fixed address (/FIXED)"
|
||
|
$ImportLibrary
|
||
|
$MergeSections
|
||
|
$ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
|
||
|
|
||
|
// Command Line
|
||
|
}
|
||
|
|
||
|
$Xbox360ImageConversion
|
||
|
{
|
||
|
// General
|
||
|
$OutputFile "$(OutDir)/$OUTBINNAME.xex"
|
||
|
$TitleID
|
||
|
$LANKey
|
||
|
$SuppressStartupBanner "Yes (/NOLOGO)"
|
||
|
$BaseAddress
|
||
|
$HeapSize
|
||
|
$WorkspaceSize
|
||
|
$AdditionalSections
|
||
|
$ExportByName
|
||
|
|
||
|
// Privileges
|
||
|
$OpticalDiscDriveMapping
|
||
|
$PAL50Incompatible
|
||
|
|
||
|
// Project Defaults
|
||
|
$ProjectDefaults
|
||
|
|
||
|
// Command Line
|
||
|
$AdditionalOptions
|
||
|
}
|
||
|
|
||
|
$BrowseInformation
|
||
|
{
|
||
|
$SuppressStartupBanner "Yes (/nologo)"
|
||
|
$OutputFile "$(OutDir)/$OUTBINNAME.bsc"
|
||
|
$AdditionalOptions
|
||
|
}
|
||
|
|
||
|
$PreBuildEvent
|
||
|
{
|
||
|
$CommandLine
|
||
|
$Description
|
||
|
$ExcludedFromBuild "No"
|
||
|
}
|
||
|
|
||
|
$PreLinkEvent
|
||
|
{
|
||
|
$CommandLine
|
||
|
$Description
|
||
|
$ExcludedFromBuild "No"
|
||
|
}
|
||
|
|
||
|
$PostBuildEvent
|
||
|
{
|
||
|
$CommandLine
|
||
|
$Description
|
||
|
$ExcludedFromBuild "No"
|
||
|
}
|
||
|
|
||
|
$CustomBuildStep
|
||
|
{
|
||
|
// General
|
||
|
$CommandLine
|
||
|
$Description
|
||
|
$Outputs
|
||
|
$AdditionalDependencies
|
||
|
}
|
||
|
|
||
|
$ConsoleDeployment
|
||
|
{
|
||
|
// Common Settings
|
||
|
$DeploymentType "Copy to Hard Drive"
|
||
|
$DeploymentFiles "$(RemoteRoot)=$(TargetPath);"
|
||
|
|
||
|
// Copy to Hard Drive
|
||
|
$ExcludedFromBuild "Yes"
|
||
|
$SuppressStartupBanner "Yes (/nologo)"
|
||
|
$Progress "No"
|
||
|
$ForceCopy
|
||
|
$DeploymentRoot
|
||
|
|
||
|
// Emulate DVD Drive
|
||
|
$EmulationType
|
||
|
$Layout
|
||
|
$LayoutRoot
|
||
|
|
||
|
// Command Line
|
||
|
$AdditionalOptions
|
||
|
}
|
||
|
}
|