From: Bart House Date: Mon, 19 Nov 2018 19:33:11 +0000 (-0800) Subject: Added building of data to xcode build. X-Git-Tag: nmake-explicit-path~152^2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=898a22159f5f577f7e15b57b26f23d4254eed88c;p=nethack Added building of data to xcode build. --- diff --git a/sys/unix/NetHack.xcodeproj/project.pbxproj b/sys/unix/NetHack.xcodeproj/project.pbxproj index 45f876190..184d03fb2 100644 --- a/sys/unix/NetHack.xcodeproj/project.pbxproj +++ b/sys/unix/NetHack.xcodeproj/project.pbxproj @@ -715,6 +715,7 @@ 3189577C21A1FDA400FB2ABE /* Frameworks */, 3189577D21A1FDA400FB2ABE /* CopyFiles */, 319B338E21A32B0800B78702 /* ShellScript */, + 319CBA3821A3458100150830 /* ShellScript */, ); buildRules = ( ); @@ -867,6 +868,26 @@ shellPath = /bin/sh; shellScript = "# Type a script or drag a script file from your workspace to insert its path\ncd ${SOURCE_ROOT}/../../util\n\ncp ${BUILT_PRODUCTS_DIR}/makedefs .\n\n# Make dat/options\n# This also will generate include/date.h\n\n./makedefs -v\n"; }; + 319CBA3821A3458100150830 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "$(SRC_ROOT)/../../dat/data.base", + "$(SRCROOT)/../../util/makedefs", + ); + outputFileListPaths = ( + ); + outputPaths = ( + "$(SRC_ROOT)/../../data", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# make data from data.base\ncd ${SOURCE_ROOT}/../../dat\n\n../util/makedefs -d\n"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/sys/unix/NetHack.xcodeproj/project.xcworkspace/xcuserdata/barthouse.xcuserdatad/UserInterfaceState.xcuserstate b/sys/unix/NetHack.xcodeproj/project.xcworkspace/xcuserdata/barthouse.xcuserdatad/UserInterfaceState.xcuserstate index fa83e0211..9a259705e 100644 Binary files a/sys/unix/NetHack.xcodeproj/project.xcworkspace/xcuserdata/barthouse.xcuserdatad/UserInterfaceState.xcuserstate and b/sys/unix/NetHack.xcodeproj/project.xcworkspace/xcuserdata/barthouse.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/sys/unix/NetHack.xcodeproj/xcuserdata/barthouse.xcuserdatad/xcschemes/xcschememanagement.plist b/sys/unix/NetHack.xcodeproj/xcuserdata/barthouse.xcuserdatad/xcschemes/xcschememanagement.plist index f8687bde7..419979501 100644 --- a/sys/unix/NetHack.xcodeproj/xcuserdata/barthouse.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/sys/unix/NetHack.xcodeproj/xcuserdata/barthouse.xcuserdatad/xcschemes/xcschememanagement.plist @@ -12,7 +12,7 @@ dgn_comp.xcscheme_^#shared#^_ orderHint - 3 + 2 dlb.xcscheme_^#shared#^_ @@ -22,7 +22,7 @@ lev_comp.xcscheme_^#shared#^_ orderHint - 2 + 3 makedefs.xcscheme_^#shared#^_