iOS buildfix.

This commit is contained in:
Unknown W. Brackets committed 2013-08-18 20:17:33 -07:00
1 parent ad40ef6a52
commit 8c4db99435
2 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -455,7 +455,7 @@ if(ANDROID)
# No target
elseif(IOS)
set(nativeExtra ${nativeExtra}
ios/main.m
ios/main.mm
ios/AppDelegate.m
ios/AppDelegate.h
ios/ViewController.mm
+8 -1
View File
@@ -1,9 +1,16 @@
// main.m boilerplate
// main.mm boilerplate
#import <UIKit/UIKit.h>
#import <string>
#import "AppDelegate.h"
std::string System_GetName()
{
// TODO: iPad/etc.?
return "iOS:";
}
int main(int argc, char *argv[])
{
@autoreleasepool {