Skip to content

Commit

Permalink
Refactor Xcode project. Load bitmaps from Resources/ path, let's see …
Browse files Browse the repository at this point in the history
…if this is portable enough.
  • Loading branch information
codereader committed Feb 12, 2017
1 parent 9fe8efc commit d818a04
Show file tree
Hide file tree
Showing 6 changed files with 1,004 additions and 19 deletions.
2 changes: 2 additions & 0 deletions radiant/modulesystem/ApplicationContextImpl.cpp
Expand Up @@ -31,6 +31,8 @@ std::string ApplicationContextImpl::getRuntimeDataPath() const
{
#if defined(POSIX) && defined (PKGDATADIR)
return std::string(PKGDATADIR) + "/";
#elif defined(__APPLE__)
return std::string("Resources/");
#else
return getApplicationPath();
#endif
Expand Down
Binary file modified tools/xcode/.DS_Store
Binary file not shown.
933 changes: 918 additions & 15 deletions tools/xcode/DarkRadiant.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Binary file not shown.
Expand Up @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3ADBCC941E4E4C3400CA94F6"
BlueprintIdentifier = "3AEDE3991E4EEA1F005A8641"
BuildableName = "DarkRadiant"
BlueprintName = "DarkRadiant"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
Expand All @@ -32,7 +32,7 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3ADBCC941E4E4C3400CA94F6"
BlueprintIdentifier = "3AEDE3991E4EEA1F005A8641"
BuildableName = "DarkRadiant"
BlueprintName = "DarkRadiant"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
Expand All @@ -55,7 +55,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3ADBCC941E4E4C3400CA94F6"
BlueprintIdentifier = "3AEDE3991E4EEA1F005A8641"
BuildableName = "DarkRadiant"
BlueprintName = "DarkRadiant"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
Expand All @@ -74,7 +74,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3ADBCC941E4E4C3400CA94F6"
BlueprintIdentifier = "3AEDE3991E4EEA1F005A8641"
BuildableName = "DarkRadiant"
BlueprintName = "DarkRadiant"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
Expand Down
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A0120721E502F7800A62BC1"
BuildableName = "libscene.a"
BlueprintName = "scene"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A0120721E502F7800A62BC1"
BuildableName = "libscene.a"
BlueprintName = "scene"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A0120721E502F7800A62BC1"
BuildableName = "libscene.a"
BlueprintName = "scene"
ReferencedContainer = "container:DarkRadiant.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit d818a04

Please sign in to comment.