122 lines
3.6 KiB
Plaintext
122 lines
3.6 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// Base Settings for Source(TM) Projects
|
|
//-----------------------------------------------------------------------------
|
|
|
|
$MacroRequired "SRCDIR"
|
|
$MacroRequired "OUTBINNAME"
|
|
$MacroRequired "OUTBINDIR"
|
|
$MacroRequired "SCE_LIBROOT"
|
|
|
|
$IgnoreRedundancyWarning "ON"
|
|
|
|
$Configuration "Debug"
|
|
{
|
|
$General
|
|
{
|
|
// General
|
|
$OutputDirectory ".\Debug_PS3"
|
|
$IntermediateDirectory ".\Debug_PS3"
|
|
$ExtensionsToDeleteOnClean
|
|
$BuildLogFile
|
|
$SystemIncludeDependencies
|
|
$SaveDebuggerPropertiesInProject
|
|
|
|
$ConfigurationType "ELF"
|
|
}
|
|
|
|
$SNCCompiler
|
|
{
|
|
// General
|
|
$AdditionalIncludeDirectories
|
|
$PreprocessorDefinitions "SN_TARGET_PS3;_DEBUG;__SNC__;__CELL_ASSERT__;POSIX"
|
|
$ForceIncludes "tier0/platform.h"
|
|
$GenerateDebugInformation "yes"
|
|
$Warnings "Generate Warnings (=1)"
|
|
$TreatMessagesAsErrors "Reported Errors Only (=0)"
|
|
$DisableSpecificWarnings
|
|
$ObjectFileName "$(IntDir)\"
|
|
$CallprofHierarchicalProfiling "No"
|
|
|
|
// Optimization
|
|
$OptimizationLevel "No Optimization, Forced Inlining only (-O0)"
|
|
$FastMath "No"
|
|
$RelaxAliasChecking "Default"
|
|
$BranchlessCompares "Always Use Branches (=0)"
|
|
$UnrollLoops "30"
|
|
$AssumeAlignedPointers "No"
|
|
$AssumeCorrectSign "Yes"
|
|
|
|
// Code Generation
|
|
$TOCPointerPreservation "Preserve the TOC for all Function Calls (=0)"
|
|
$InitializedDataPlacement "Automatic .bss and .data Placement (=1)"
|
|
$PromoteFPConstantsToDoubles "No"
|
|
|
|
// Language
|
|
$CC++Dialect "Mixed with GNU Extensions"
|
|
$C++ExceptionsAndRTTIUsage "Using RTTI only"
|
|
$DefaultCharUnsigned "No"
|
|
$DefaultFPConstantsAsTypeFloat "No"
|
|
$BuiltInDefinitionForWCHAR_TType "unsigned short (=ushort)"
|
|
|
|
// Precompiled Headers
|
|
$Create/UsePrecompiledHeader "Not Using Precompiled Header File(s)"
|
|
$PrecompiledHeaderFile
|
|
|
|
// Command Line
|
|
$AdditionalOptions
|
|
}
|
|
|
|
$SNCLinker
|
|
{
|
|
// General
|
|
$OutputFile $(OutDir)/$(ProjectName)_ps3.elf
|
|
$OutputFormat "ELF file"
|
|
$AdditionalDependencies "$SCE_LIBROOT\libgcm_cmd.a $SCE_LIBROOT\libgcm_sys_stub.a $SCE_LIBROOT\libsysmodule_stub.a $SCE_LIBROOT\libsysutil_stub.a $SCE_LIBROOT\libusbd_stub.a $SCE_LIBROOT\libresc_stub.a $SCE_LIBROOT\libio_stub.a $SCE_LIBROOT\fno-exceptions\libc_libent.o $SCE_LIBROOT\fno-exceptions\libm_libent.o $SCE_LIBROOT\fno-exceptions\libstdc++_libent.o $SCE_LIBROOT\fno-exceptions\libc.a $SCE_LIBROOT\fno-exceptions\libm.a $SCE_LIBROOT\fno-exceptions\libstdc++.a libfios.a libfs_stub.a libsysutil_stub.a libsysutil_np_stub.a libsysmodule_stub.a"
|
|
$AdditionalLibraryDirectories
|
|
$IgnoreAllDefaultLibraries "No"
|
|
$UsingExceptionHandling "No"
|
|
$TOCPointerElimination "No"
|
|
$ForceSymbolReferences
|
|
$CallprofHierarchicalProfiling "No"
|
|
$DebugInfoAndSymbolStripping "No Symbol Stripping"
|
|
$UnusedFunctionAndDataStripping "No Code Stripping"
|
|
$ImportLibrary
|
|
$GenerateMapFile "No Map File"
|
|
$MapFileName
|
|
$LinkLibraryDependencies "Yes"
|
|
|
|
// Command Line
|
|
$AdditionalOptions "--ppuguid"
|
|
}
|
|
|
|
$PreBuildEvent
|
|
{
|
|
$CommandLine
|
|
$Description
|
|
$ExcludedFromBuild "No"
|
|
}
|
|
|
|
$PreLinkEvent
|
|
{
|
|
$CommandLine
|
|
$Description
|
|
$ExcludedFromBuild "No"
|
|
}
|
|
|
|
$PostBuildEvent
|
|
{
|
|
$CommandLine "$(SCE_PS3_ROOT)\host-win32\bin\make_fself "$(TargetPath)" "$(TargetDir)$(TargetName).self""
|
|
$Description "Fake Signing ELF "$(TargetDir)$(TargetName).self""
|
|
$ExcludedFromBuild "No"
|
|
}
|
|
|
|
$CustomBuildStep
|
|
{
|
|
// General
|
|
$CommandLine
|
|
$Description
|
|
$Outputs
|
|
$AdditionalDependencies
|
|
}
|
|
}
|