istereo

changeset 40:9e8fb79fd959

converted to xcode 4 created xcodebuild makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Feb 2012 17:25:41 +0200
parents ff055bff6a15
children b5cce4258afb
files Makefile.xcbuild istereo.xcodeproj/project.pbxproj
diffstat 2 files changed, 41 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.xcbuild	Sun Feb 19 17:25:41 2012 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +simsdk = iphonesimulator5.0
     1.5 +devsdk = iphoneos5.0
     1.6 +
     1.7 +
     1.8 +.PHONY: all
     1.9 +all:
    1.10 +	@echo 'please specify target sim or device'; false
    1.11 +
    1.12 +.PHONY: sim
    1.13 +sim: sim-debug
    1.14 +
    1.15 +.PHONY: device
    1.16 +device: device-debug
    1.17 +
    1.18 +.PHONY: sim-debug
    1.19 +sim-debug:
    1.20 +	xcodebuild -configuration Debug -sdk $(simsdk)
    1.21 +
    1.22 +.PHONY: sim-release
    1.23 +sim-release:
    1.24 +	xcodebuild -configuration Release -sdk $(simsdk)
    1.25 +
    1.26 +.PHONY: device-debug
    1.27 +device-debug:
    1.28 +	xcodebuild -configuration Debug -sdk $(devsdk)
    1.29 +
    1.30 +.PHONY: device-release
    1.31 +device-release:
    1.32 +	xcodebuild -configuration Release -sdk $(devsdk)
    1.33 +
    1.34 +.PHONY: clean
    1.35 +clean:
    1.36 +	xcodebuild clean
    1.37 +
    1.38 +# untested
    1.39 +.PHONY: install
    1.40 +install:
    1.41 +	xcodebuild install
     2.1 --- a/istereo.xcodeproj/project.pbxproj	Sun Sep 11 09:03:18 2011 +0300
     2.2 +++ b/istereo.xcodeproj/project.pbxproj	Sun Feb 19 17:25:41 2012 +0200
     2.3 @@ -662,6 +662,9 @@
     2.4  /* Begin PBXProject section */
     2.5  		29B97313FDCFA39411CA2CEA /* Project object */ = {
     2.6  			isa = PBXProject;
     2.7 +			attributes = {
     2.8 +				LastUpgradeCheck = 0420;
     2.9 +			};
    2.10  			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "istereo" */;
    2.11  			compatibilityVersion = "Xcode 3.2";
    2.12  			developmentRegion = English;
    2.13 @@ -890,7 +893,6 @@
    2.14  					libs/vmath,
    2.15  					libs/imago2,
    2.16  				);
    2.17 -				PREBINDING = NO;
    2.18  				SDKROOT = iphoneos;
    2.19  				USER_HEADER_SEARCH_PATHS = "";
    2.20  			};
    2.21 @@ -915,7 +917,6 @@
    2.22  					libs/imago2,
    2.23  				);
    2.24  				OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
    2.25 -				PREBINDING = NO;
    2.26  				SDKROOT = iphoneos;
    2.27  				USER_HEADER_SEARCH_PATHS = "";
    2.28  			};