diff options
author | David Cole <david.cole@kitware.com> | 2011-09-12 17:47:13 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-09-12 19:46:24 (GMT) |
commit | 64c9b318bf6062aa1a451d15af9e7016057168c1 (patch) | |
tree | 7c9984d86075396476a842b8c1409204574cfe25 /Tests/iOSNavApp/NavApp3_Prefix.pch | |
parent | 59a22655765a46c48dc3f45189101f2e9a265776 (diff) | |
download | CMake-64c9b318bf6062aa1a451d15af9e7016057168c1.zip CMake-64c9b318bf6062aa1a451d15af9e7016057168c1.tar.gz CMake-64c9b318bf6062aa1a451d15af9e7016057168c1.tar.bz2 |
Xcode: Add test to demonstrate iOS project in Xcode
Presently, this test is only run manually because not all machines
have an iOS SDK, complications associated with certificates and code
signing, having a device attached, ...
If you're setup to do iOS dev work, you can easily run this test
manually on your Mac using the Xcode generator and run the result
in the simulator or on your attached device.
Diffstat (limited to 'Tests/iOSNavApp/NavApp3_Prefix.pch')
-rw-r--r-- | Tests/iOSNavApp/NavApp3_Prefix.pch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/iOSNavApp/NavApp3_Prefix.pch b/Tests/iOSNavApp/NavApp3_Prefix.pch new file mode 100644 index 0000000..9919f30 --- /dev/null +++ b/Tests/iOSNavApp/NavApp3_Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'NavApp3' target in the 'NavApp3' project +// +#import <Availability.h> + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iPhone SDK 3.0 and later." +#endif + + +#ifdef __OBJC__ + #import <Foundation/Foundation.h> + #import <UIKit/UIKit.h> +#endif |