iOS buildfix.

This commit is contained in:
Unknown W. Brackets 2013-08-18 20:17:33 -07:00
parent ad40ef6a52
commit 8c4db99435
2 changed files with 9 additions and 2 deletions

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

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 {