summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2013-01-07 13:01:58 -0500
committerStarla Insigna <hatkirby@fourisland.com>2013-01-07 13:01:58 -0500
commit79c0c186e08df4022f7426a9a251eb60ffedfaa9 (patch)
treea12f931f0812e51964c597e5bcebe27371c1b890
parent7eb543b37f42f708611f969de2d813a5457c54d8 (diff)
downloadcartcollect-79c0c186e08df4022f7426a9a251eb60ffedfaa9.tar.gz
cartcollect-79c0c186e08df4022f7426a9a251eb60ffedfaa9.tar.bz2
cartcollect-79c0c186e08df4022f7426a9a251eb60ffedfaa9.zip
Updated build versioning script for git 0.5
-rwxr-xr-xCartographic.xcodeproj/project.pbxproj16
1 files changed, 14 insertions, 2 deletions
diff --git a/Cartographic.xcodeproj/project.pbxproj b/Cartographic.xcodeproj/project.pbxproj index 1513954..cad5d81 100755 --- a/Cartographic.xcodeproj/project.pbxproj +++ b/Cartographic.xcodeproj/project.pbxproj
@@ -1419,7 +1419,7 @@
1419 29B97313FDCFA39411CA2CEA /* Project object */ = { 1419 29B97313FDCFA39411CA2CEA /* Project object */ = {
1420 isa = PBXProject; 1420 isa = PBXProject;
1421 attributes = { 1421 attributes = {
1422 LastUpgradeCheck = 0420; 1422 LastUpgradeCheck = 0450;
1423 }; 1423 };
1424 buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cartographic" */; 1424 buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cartographic" */;
1425 compatibilityVersion = "Xcode 3.2"; 1425 compatibilityVersion = "Xcode 3.2";
@@ -1515,7 +1515,7 @@
1515 ); 1515 );
1516 runOnlyForDeploymentPostprocessing = 0; 1516 runOnlyForDeploymentPostprocessing = 0;
1517 shellPath = /bin/sh; 1517 shellPath = /bin/sh;
1518 shellScript = "hg=\"/opt/local/bin/hg\"\ntouch Resources/Info.plist\nversion=`$hg tip --template {rev}`\ndirty=`$hg status`\nif [ -n \"${dirty}\" ]; then\n rev=`cat Versioning.h | sed -e \"s/.define BUILD_NUMBER ${version}\\.\\([0-9]*\\)/\\1/g\"`\n if [ -z \"${rev}\" ]; then\n rev=\"1\"\n else\n rev=`expr ${rev} + 1`\n fi\n version=\"${version}.${rev}\"\nfi\necho \"#define BUILD_NUMBER ${version}\" > Versioning.h"; 1518 shellScript = "git=\"/usr/bin/git\"\ntouch Resources/Info.plist\nversion=`$git describe`\ndirty=`$git status -s`\nif [ -n \"${dirty}\" ]; then\n rev=`cat Versioning.h | sed -e \"s/.define BUILD_NUMBER ${version}\\.\\([0-9]*\\)/\\1/g\"`\n if [ -z \"${rev}\" ]; then\n rev=\"1\"\n else\n rev=`expr ${rev} + 1`\n fi\n version=\"${version}.${rev}\"\nfi\necho \"#define BUILD_NUMBER ${version}\" > Versioning.h";
1519 }; 1519 };
1520/* End PBXShellScriptBuildPhase section */ 1520/* End PBXShellScriptBuildPhase section */
1521 1521
@@ -1684,6 +1684,7 @@
1684 GCC_OPTIMIZATION_LEVEL = 0; 1684 GCC_OPTIMIZATION_LEVEL = 0;
1685 GCC_PRECOMPILE_PREFIX_HEADER = YES; 1685 GCC_PRECOMPILE_PREFIX_HEADER = YES;
1686 GCC_PREFIX_HEADER = Cart_Collect_Prefix.pch; 1686 GCC_PREFIX_HEADER = Cart_Collect_Prefix.pch;
1687 GCC_THUMB_SUPPORT = NO;
1687 GCC_TREAT_WARNINGS_AS_ERRORS = NO; 1688 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
1688 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1689 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1689 HEADER_SEARCH_PATHS = libs; 1690 HEADER_SEARCH_PATHS = libs;
@@ -1718,6 +1719,7 @@
1718 GCC_C_LANGUAGE_STANDARD = c99; 1719 GCC_C_LANGUAGE_STANDARD = c99;
1719 GCC_PRECOMPILE_PREFIX_HEADER = YES; 1720 GCC_PRECOMPILE_PREFIX_HEADER = YES;
1720 GCC_PREFIX_HEADER = Cart_Collect_Prefix.pch; 1721 GCC_PREFIX_HEADER = Cart_Collect_Prefix.pch;
1722 GCC_THUMB_SUPPORT = NO;
1721 GCC_TREAT_WARNINGS_AS_ERRORS = NO; 1723 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
1722 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1724 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1723 HEADER_SEARCH_PATHS = libs; 1725 HEADER_SEARCH_PATHS = libs;
@@ -1748,6 +1750,7 @@
1748 COPY_PHASE_STRIP = NO; 1750 COPY_PHASE_STRIP = NO;
1749 GCC_DYNAMIC_NO_PIC = NO; 1751 GCC_DYNAMIC_NO_PIC = NO;
1750 GCC_OPTIMIZATION_LEVEL = 0; 1752 GCC_OPTIMIZATION_LEVEL = 0;
1753 GCC_THUMB_SUPPORT = NO;
1751 GCC_TREAT_WARNINGS_AS_ERRORS = NO; 1754 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
1752 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1755 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1753 HEADER_SEARCH_PATHS = ( 1756 HEADER_SEARCH_PATHS = (
@@ -1767,6 +1770,7 @@
1767 COPY_PHASE_STRIP = YES; 1770 COPY_PHASE_STRIP = YES;
1768 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1771 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1769 GCC_PREPROCESSOR_DEFINITIONS = ""; 1772 GCC_PREPROCESSOR_DEFINITIONS = "";
1773 GCC_THUMB_SUPPORT = NO;
1770 GCC_TREAT_WARNINGS_AS_ERRORS = NO; 1774 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
1771 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1775 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1772 HEADER_SEARCH_PATHS = ( 1776 HEADER_SEARCH_PATHS = (
@@ -1794,6 +1798,7 @@
1794 NS_BLOCK_ASSERTIONS, 1798 NS_BLOCK_ASSERTIONS,
1795 NDEBUG, 1799 NDEBUG,
1796 ); 1800 );
1801 GCC_THUMB_SUPPORT = NO;
1797 "GCC_THUMB_SUPPORT[arch=armv6]" = NO; 1802 "GCC_THUMB_SUPPORT[arch=armv6]" = NO;
1798 "GCC_THUMB_SUPPORT[arch=armv7]" = YES; 1803 "GCC_THUMB_SUPPORT[arch=armv7]" = YES;
1799 GCC_UNROLL_LOOPS = YES; 1804 GCC_UNROLL_LOOPS = YES;
@@ -1823,6 +1828,7 @@
1823 NS_BLOCK_ASSERTIONS, 1828 NS_BLOCK_ASSERTIONS,
1824 NDEBUG, 1829 NDEBUG,
1825 ); 1830 );
1831 GCC_THUMB_SUPPORT = NO;
1826 GCC_TREAT_WARNINGS_AS_ERRORS = NO; 1832 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
1827 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1833 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1828 HEADER_SEARCH_PATHS = libs; 1834 HEADER_SEARCH_PATHS = libs;
@@ -1853,6 +1859,7 @@
1853 COPY_PHASE_STRIP = YES; 1859 COPY_PHASE_STRIP = YES;
1854 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1860 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1855 GCC_PREPROCESSOR_DEFINITIONS = ""; 1861 GCC_PREPROCESSOR_DEFINITIONS = "";
1862 GCC_THUMB_SUPPORT = NO;
1856 GCC_TREAT_WARNINGS_AS_ERRORS = NO; 1863 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
1857 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1864 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1858 HEADER_SEARCH_PATHS = ( 1865 HEADER_SEARCH_PATHS = (
@@ -1868,6 +1875,7 @@
1868 6C19F16F1401944500F9CCD3 /* Ad-Hoc */ = { 1875 6C19F16F1401944500F9CCD3 /* Ad-Hoc */ = {
1869 isa = XCBuildConfiguration; 1876 isa = XCBuildConfiguration;
1870 buildSettings = { 1877 buildSettings = {
1878 GCC_THUMB_SUPPORT = NO;
1871 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1879 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1872 PRODUCT_NAME = "$(TARGET_NAME)"; 1880 PRODUCT_NAME = "$(TARGET_NAME)";
1873 }; 1881 };
@@ -1876,6 +1884,7 @@
1876 6C263DDD13F6F4A000116746 /* Debug */ = { 1884 6C263DDD13F6F4A000116746 /* Debug */ = {
1877 isa = XCBuildConfiguration; 1885 isa = XCBuildConfiguration;
1878 buildSettings = { 1886 buildSettings = {
1887 GCC_THUMB_SUPPORT = NO;
1879 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1888 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1880 PRODUCT_NAME = "$(TARGET_NAME)"; 1889 PRODUCT_NAME = "$(TARGET_NAME)";
1881 }; 1890 };
@@ -1884,6 +1893,7 @@
1884 6C263DDE13F6F4A000116746 /* Release */ = { 1893 6C263DDE13F6F4A000116746 /* Release */ = {
1885 isa = XCBuildConfiguration; 1894 isa = XCBuildConfiguration;
1886 buildSettings = { 1895 buildSettings = {
1896 GCC_THUMB_SUPPORT = NO;
1887 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 1897 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1888 PRODUCT_NAME = "$(TARGET_NAME)"; 1898 PRODUCT_NAME = "$(TARGET_NAME)";
1889 }; 1899 };
@@ -1905,6 +1915,7 @@
1905 "COCOS2D_DEBUG=1", 1915 "COCOS2D_DEBUG=1",
1906 "CD_DEBUG=1", 1916 "CD_DEBUG=1",
1907 ); 1917 );
1918 GCC_THUMB_SUPPORT = NO;
1908 "GCC_THUMB_SUPPORT[arch=armv6]" = NO; 1919 "GCC_THUMB_SUPPORT[arch=armv6]" = NO;
1909 "GCC_THUMB_SUPPORT[arch=armv7]" = YES; 1920 "GCC_THUMB_SUPPORT[arch=armv7]" = YES;
1910 GCC_VERSION = ""; 1921 GCC_VERSION = "";
@@ -1932,6 +1943,7 @@
1932 NS_BLOCK_ASSERTIONS, 1943 NS_BLOCK_ASSERTIONS,
1933 NDEBUG, 1944 NDEBUG,
1934 ); 1945 );
1946 GCC_THUMB_SUPPORT = NO;
1935 "GCC_THUMB_SUPPORT[arch=armv6]" = NO; 1947 "GCC_THUMB_SUPPORT[arch=armv6]" = NO;
1936 "GCC_THUMB_SUPPORT[arch=armv7]" = YES; 1948 "GCC_THUMB_SUPPORT[arch=armv7]" = YES;
1937 GCC_UNROLL_LOOPS = YES; 1949 GCC_UNROLL_LOOPS = YES;