premake/patches/711.patch
author Ryan C. Gordon
Sun, 03 Jan 2016 20:52:44 -0500
changeset 10004 8f2f519d1e61
parent 7925 f090a47eb7f7
permissions -rwxr-xr-x
CMake: Don't make a libSDL2.so symlink on Mac OS X (do .dylib instead).
     1 # HG changeset patch
     2 # User Ben Henning
     3 # Date 1376453463 25200
     4 #      Tue Aug 13 21:11:03 2013 -0700
     5 # Node ID a5f8b4f709722222e02fa481873d76ad25255e09
     6 # Parent  8b24d45e6a5d717876a7b32b64e99043c95328e5
     7 Implemented Xcode recognizing bitmap and wave files as resources, plus properly
     8 set their types recognizable by Xcode itself.
     9 
    10 diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua
    11 --- a/src/actions/xcode/xcode_common.lua
    12 +++ b/src/actions/xcode/xcode_common.lua
    13 @@ -32,6 +32,8 @@
    14  			[".nib"] = "Resources",
    15  			[".xib"] = "Resources",
    16  			[".icns"] = "Resources",
    17 +			[".bmp"] = "Resources",
    18 +			[".wav"] = "Resources",
    19  		}
    20  		return categories[path.getextension(node.name)]
    21  	end
    22 @@ -85,6 +87,8 @@
    23  			[".strings"]   = "text.plist.strings",
    24  			[".xib"]       = "file.xib",
    25  			[".icns"]      = "image.icns",
    26 +			[".bmp"]       = "image.bmp",
    27 +			[".wav"]       = "audio.wav",
    28  		}
    29  		return types[path.getextension(node.path)] or "text"
    30  	end