project.pbxproj 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. // !$*UTF8*$!
  2. {
  3. archiveVersion = 1;
  4. classes = {
  5. };
  6. objectVersion = 46;
  7. objects = {
  8. /* Begin PBXBuildFile section */
  9. 9223C4781F009428009A94D7 /* Game.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9223C4671F009428009A94D7 /* Game.cpp */; };
  10. 9223C47D1F009428009A94D7 /* Main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9223C4711F009428009A94D7 /* Main.cpp */; };
  11. 92D324FB1B697389005A86C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92D324FA1B697389005A86C7 /* CoreFoundation.framework */; };
  12. 92E46E941B6353E50035CD21 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92E46E931B6353E50035CD21 /* OpenGL.framework */; };
  13. /* End PBXBuildFile section */
  14. /* Begin PBXFileReference section */
  15. 9223C4671F009428009A94D7 /* Game.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Game.cpp; sourceTree = "<group>"; };
  16. 9223C4701F009428009A94D7 /* Game.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Game.h; sourceTree = "<group>"; };
  17. 9223C4711F009428009A94D7 /* Main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Main.cpp; sourceTree = "<group>"; };
  18. 92D324FA1B697389005A86C7 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
  19. 92E46DF71B634EA30035CD21 /* Game-mac */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Game-mac"; sourceTree = BUILT_PRODUCTS_DIR; };
  20. 92E46E931B6353E50035CD21 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; };
  21. /* End PBXFileReference section */
  22. /* Begin PBXFrameworksBuildPhase section */
  23. 92E46DF41B634EA30035CD21 /* Frameworks */ = {
  24. isa = PBXFrameworksBuildPhase;
  25. buildActionMask = 2147483647;
  26. files = (
  27. 92D324FB1B697389005A86C7 /* CoreFoundation.framework in Frameworks */,
  28. 92E46E941B6353E50035CD21 /* OpenGL.framework in Frameworks */,
  29. );
  30. runOnlyForDeploymentPostprocessing = 0;
  31. };
  32. /* End PBXFrameworksBuildPhase section */
  33. /* Begin PBXGroup section */
  34. 92E46DEE1B634EA30035CD21 = {
  35. isa = PBXGroup;
  36. children = (
  37. 9223C4671F009428009A94D7 /* Game.cpp */,
  38. 9223C4701F009428009A94D7 /* Game.h */,
  39. 9223C4711F009428009A94D7 /* Main.cpp */,
  40. 92E46DF81B634EA30035CD21 /* Products */,
  41. 92D324FA1B697389005A86C7 /* CoreFoundation.framework */,
  42. 92E46E931B6353E50035CD21 /* OpenGL.framework */,
  43. );
  44. sourceTree = "<group>";
  45. };
  46. 92E46DF81B634EA30035CD21 /* Products */ = {
  47. isa = PBXGroup;
  48. children = (
  49. 92E46DF71B634EA30035CD21 /* Game-mac */,
  50. );
  51. name = Products;
  52. sourceTree = "<group>";
  53. };
  54. /* End PBXGroup section */
  55. /* Begin PBXNativeTarget section */
  56. 92E46DF61B634EA30035CD21 /* Game-mac */ = {
  57. isa = PBXNativeTarget;
  58. buildConfigurationList = 92E46DFE1B634EA40035CD21 /* Build configuration list for PBXNativeTarget "Game-mac" */;
  59. buildPhases = (
  60. 92E46DF31B634EA30035CD21 /* Sources */,
  61. 92E46DF41B634EA30035CD21 /* Frameworks */,
  62. 92E46EA11B63615B0035CD21 /* ShellScript */,
  63. );
  64. buildRules = (
  65. );
  66. dependencies = (
  67. );
  68. name = "Game-mac";
  69. productName = "Game-mac";
  70. productReference = 92E46DF71B634EA30035CD21 /* Game-mac */;
  71. productType = "com.apple.product-type.tool";
  72. };
  73. /* End PBXNativeTarget section */
  74. /* Begin PBXProject section */
  75. 92E46DEF1B634EA30035CD21 /* Project object */ = {
  76. isa = PBXProject;
  77. attributes = {
  78. LastUpgradeCheck = 0920;
  79. ORGANIZATIONNAME = "Sanjay Madhav";
  80. TargetAttributes = {
  81. 92E46DF61B634EA30035CD21 = {
  82. CreatedOnToolsVersion = 6.4;
  83. };
  84. };
  85. };
  86. buildConfigurationList = 92E46DF21B634EA30035CD21 /* Build configuration list for PBXProject "Chapter01-mac" */;
  87. compatibilityVersion = "Xcode 3.2";
  88. developmentRegion = English;
  89. hasScannedForEncodings = 0;
  90. knownRegions = (
  91. en,
  92. );
  93. mainGroup = 92E46DEE1B634EA30035CD21;
  94. productRefGroup = 92E46DF81B634EA30035CD21 /* Products */;
  95. projectDirPath = "";
  96. projectRoot = "";
  97. targets = (
  98. 92E46DF61B634EA30035CD21 /* Game-mac */,
  99. );
  100. };
  101. /* End PBXProject section */
  102. /* Begin PBXShellScriptBuildPhase section */
  103. 92E46EA11B63615B0035CD21 /* ShellScript */ = {
  104. isa = PBXShellScriptBuildPhase;
  105. buildActionMask = 2147483647;
  106. files = (
  107. );
  108. inputPaths = (
  109. );
  110. outputPaths = (
  111. );
  112. runOnlyForDeploymentPostprocessing = 0;
  113. shellPath = /bin/sh;
  114. shellScript = "if [ -d \"$BUILD_DIR/Debug\" ]; then\n cp \"$SRCROOT\"/../external/GLEW/lib/mac/*.dylib $BUILD_DIR/Debug\n cp \"$SRCROOT\"/../external/SDL/lib/mac/*.dylib $BUILD_DIR/Debug\nfi\n\nif [ -d \"$BUILD_DIR/Release\" ]; then\n cp \"$SRCROOT\"/../external/GLEW/lib/mac/*.dylib $BUILD_DIR/Release\n cp \"$SRCROOT\"/../external/SDL/lib/mac/*.dylib $BUILD_DIR/Release\nfi";
  115. };
  116. /* End PBXShellScriptBuildPhase section */
  117. /* Begin PBXSourcesBuildPhase section */
  118. 92E46DF31B634EA30035CD21 /* Sources */ = {
  119. isa = PBXSourcesBuildPhase;
  120. buildActionMask = 2147483647;
  121. files = (
  122. 9223C47D1F009428009A94D7 /* Main.cpp in Sources */,
  123. 9223C4781F009428009A94D7 /* Game.cpp in Sources */,
  124. );
  125. runOnlyForDeploymentPostprocessing = 0;
  126. };
  127. /* End PBXSourcesBuildPhase section */
  128. /* Begin XCBuildConfiguration section */
  129. 92E46DFC1B634EA40035CD21 /* Debug */ = {
  130. isa = XCBuildConfiguration;
  131. buildSettings = {
  132. ALWAYS_SEARCH_USER_PATHS = NO;
  133. CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  134. CLANG_CXX_LIBRARY = "libc++";
  135. CLANG_ENABLE_MODULES = YES;
  136. CLANG_ENABLE_OBJC_ARC = YES;
  137. CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
  138. CLANG_WARN_BOOL_CONVERSION = YES;
  139. CLANG_WARN_COMMA = YES;
  140. CLANG_WARN_CONSTANT_CONVERSION = YES;
  141. CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  142. CLANG_WARN_EMPTY_BODY = YES;
  143. CLANG_WARN_ENUM_CONVERSION = YES;
  144. CLANG_WARN_INFINITE_RECURSION = YES;
  145. CLANG_WARN_INT_CONVERSION = YES;
  146. CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
  147. CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
  148. CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  149. CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
  150. CLANG_WARN_STRICT_PROTOTYPES = YES;
  151. CLANG_WARN_SUSPICIOUS_MOVE = YES;
  152. CLANG_WARN_UNREACHABLE_CODE = YES;
  153. CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  154. COPY_PHASE_STRIP = NO;
  155. DEBUG_INFORMATION_FORMAT = dwarf;
  156. ENABLE_STRICT_OBJC_MSGSEND = YES;
  157. ENABLE_TESTABILITY = YES;
  158. GCC_C_LANGUAGE_STANDARD = gnu99;
  159. GCC_DYNAMIC_NO_PIC = NO;
  160. GCC_NO_COMMON_BLOCKS = YES;
  161. GCC_OPTIMIZATION_LEVEL = 0;
  162. GCC_PREPROCESSOR_DEFINITIONS = (
  163. "DEBUG=1",
  164. "$(inherited)",
  165. );
  166. GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  167. GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  168. GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  169. GCC_WARN_UNDECLARED_SELECTOR = YES;
  170. GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  171. GCC_WARN_UNUSED_FUNCTION = YES;
  172. GCC_WARN_UNUSED_VARIABLE = YES;
  173. MACOSX_DEPLOYMENT_TARGET = 10.10;
  174. MTL_ENABLE_DEBUG_INFO = YES;
  175. ONLY_ACTIVE_ARCH = YES;
  176. SDKROOT = macosx;
  177. };
  178. name = Debug;
  179. };
  180. 92E46DFD1B634EA40035CD21 /* Release */ = {
  181. isa = XCBuildConfiguration;
  182. buildSettings = {
  183. ALWAYS_SEARCH_USER_PATHS = NO;
  184. CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  185. CLANG_CXX_LIBRARY = "libc++";
  186. CLANG_ENABLE_MODULES = YES;
  187. CLANG_ENABLE_OBJC_ARC = YES;
  188. CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
  189. CLANG_WARN_BOOL_CONVERSION = YES;
  190. CLANG_WARN_COMMA = YES;
  191. CLANG_WARN_CONSTANT_CONVERSION = YES;
  192. CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  193. CLANG_WARN_EMPTY_BODY = YES;
  194. CLANG_WARN_ENUM_CONVERSION = YES;
  195. CLANG_WARN_INFINITE_RECURSION = YES;
  196. CLANG_WARN_INT_CONVERSION = YES;
  197. CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
  198. CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
  199. CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  200. CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
  201. CLANG_WARN_STRICT_PROTOTYPES = YES;
  202. CLANG_WARN_SUSPICIOUS_MOVE = YES;
  203. CLANG_WARN_UNREACHABLE_CODE = YES;
  204. CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  205. COPY_PHASE_STRIP = NO;
  206. DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  207. ENABLE_NS_ASSERTIONS = NO;
  208. ENABLE_STRICT_OBJC_MSGSEND = YES;
  209. GCC_C_LANGUAGE_STANDARD = gnu99;
  210. GCC_NO_COMMON_BLOCKS = YES;
  211. GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  212. GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  213. GCC_WARN_UNDECLARED_SELECTOR = YES;
  214. GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  215. GCC_WARN_UNUSED_FUNCTION = YES;
  216. GCC_WARN_UNUSED_VARIABLE = YES;
  217. MACOSX_DEPLOYMENT_TARGET = 10.10;
  218. MTL_ENABLE_DEBUG_INFO = NO;
  219. SDKROOT = macosx;
  220. };
  221. name = Release;
  222. };
  223. 92E46DFF1B634EA40035CD21 /* Debug */ = {
  224. isa = XCBuildConfiguration;
  225. buildSettings = {
  226. CLANG_CXX_LANGUAGE_STANDARD = "c++14";
  227. FRAMEWORK_SEARCH_PATHS = "";
  228. GCC_ENABLE_CPP_RTTI = YES;
  229. HEADER_SEARCH_PATHS = (
  230. "$(inherited)",
  231. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
  232. "$(SRCROOT)/../external/SDL/include",
  233. "$(SRCROOT)/../external/GLEW/include",
  234. "$(SRCROOT)/../external/SOIL/include",
  235. );
  236. LIBRARY_SEARCH_PATHS = (
  237. "$(SRCROOT)/../external/GLEW/lib/mac",
  238. "$(SRCROOT)/../external/SDL/lib/mac",
  239. "$(SRCROOT)/../external/SOIL/lib/mac",
  240. );
  241. OTHER_LDFLAGS = (
  242. "-lGLEW.2.1.0",
  243. "-lSDL2-2.0.0",
  244. "-lSDL2_mixer-2.0.0",
  245. "-lSDL2_ttf-2.0.0",
  246. "-lSOIL",
  247. "-lSDL2_image-2.0.0",
  248. );
  249. PRODUCT_NAME = "$(TARGET_NAME)";
  250. };
  251. name = Debug;
  252. };
  253. 92E46E001B634EA40035CD21 /* Release */ = {
  254. isa = XCBuildConfiguration;
  255. buildSettings = {
  256. CLANG_CXX_LANGUAGE_STANDARD = "c++14";
  257. FRAMEWORK_SEARCH_PATHS = "";
  258. GCC_ENABLE_CPP_RTTI = YES;
  259. HEADER_SEARCH_PATHS = (
  260. "$(inherited)",
  261. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
  262. "$(SRCROOT)/../external/SDL/include",
  263. "$(SRCROOT)/../external/GLEW/include",
  264. "$(SRCROOT)/../external/SOIL/include",
  265. );
  266. LIBRARY_SEARCH_PATHS = (
  267. "$(SRCROOT)/../external/GLEW/lib/mac",
  268. "$(SRCROOT)/../external/SDL/lib/mac",
  269. "$(SRCROOT)/../external/SOIL/lib/mac",
  270. );
  271. OTHER_LDFLAGS = (
  272. "-lGLEW.2.1.0",
  273. "-lSDL2-2.0.0",
  274. "-lSDL2_mixer-2.0.0",
  275. "-lSDL2_ttf-2.0.0",
  276. "-lSOIL",
  277. "-lSDL2_image-2.0.0",
  278. );
  279. PRODUCT_NAME = "$(TARGET_NAME)";
  280. };
  281. name = Release;
  282. };
  283. /* End XCBuildConfiguration section */
  284. /* Begin XCConfigurationList section */
  285. 92E46DF21B634EA30035CD21 /* Build configuration list for PBXProject "Chapter01-mac" */ = {
  286. isa = XCConfigurationList;
  287. buildConfigurations = (
  288. 92E46DFC1B634EA40035CD21 /* Debug */,
  289. 92E46DFD1B634EA40035CD21 /* Release */,
  290. );
  291. defaultConfigurationIsVisible = 0;
  292. defaultConfigurationName = Release;
  293. };
  294. 92E46DFE1B634EA40035CD21 /* Build configuration list for PBXNativeTarget "Game-mac" */ = {
  295. isa = XCConfigurationList;
  296. buildConfigurations = (
  297. 92E46DFF1B634EA40035CD21 /* Debug */,
  298. 92E46E001B634EA40035CD21 /* Release */,
  299. );
  300. defaultConfigurationIsVisible = 0;
  301. defaultConfigurationName = Release;
  302. };
  303. /* End XCConfigurationList section */
  304. };
  305. rootObject = 92E46DEF1B634EA30035CD21 /* Project object */;
  306. }