Skip to content

Commit

Permalink
Fixed iOS host.
Browse files Browse the repository at this point in the history
  • Loading branch information
makotok committed Mar 17, 2015
1 parent b2f7072 commit 6ae7978
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
7 changes: 7 additions & 0 deletions bin/create-host-ios.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

cd `dirname $0`/..
mkdir hosts

cd util
moaiutil host-ios -o ../hosts/ios/ $@
2 changes: 1 addition & 1 deletion cmake/libmoai/moai-core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ install(TARGETS moai-core EXPORT libmoai ARCHIVE DESTINATION lib)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include/moai-core
FILES_MATCHING PATTERN "*.h")

install(DIRECTORY "${MOAI_ROOT}/src/lua-headers" DESTINATION include/lua-headers FILES_MATCHING PATTERN "*.h")
install(DIRECTORY ${MOAI_ROOT}/src/lua-headers DESTINATION include FILES_MATCHING PATTERN "*.h")
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
63CF1AC01A06610600F731F1 /* aku_modules.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 63CF1AB61A06610600F731F1 /* aku_modules.cpp */; };
63CF1AC11A06610600F731F1 /* aku_modules_ios.mm in Sources */ = {isa = PBXBuildFile; fileRef = 63CF1ABA1A06610600F731F1 /* aku_modules_ios.mm */; };
63CF1AC21A06610600F731F1 /* aku_modules_util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 63CF1ABC1A06610600F731F1 /* aku_modules_util.cpp */; };
63CF1AC31A06610600F731F1 /* aku_plugins.cpp.in in Resources */ = {isa = PBXBuildFile; fileRef = 63CF1ABE1A06610600F731F1 /* aku_plugins.cpp.in */; };
63CF1AC61A06654E00F731F1 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 63CF1AC51A06654E00F731F1 /* AVFoundation.framework */; };
63CF1AC81A06655F00F731F1 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 63CF1AC71A06655F00F731F1 /* AudioToolbox.framework */; };
63CF1ACC1A06664400F731F1 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 63CF1AC91A06657400F731F1 /* CoreAudio.framework */; };
Expand Down Expand Up @@ -191,7 +190,6 @@
63CF1ABB1A06610600F731F1 /* aku_modules_ios_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = aku_modules_ios_config.h; sourceTree = "<group>"; };
63CF1ABC1A06610600F731F1 /* aku_modules_util.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = aku_modules_util.cpp; sourceTree = "<group>"; };
63CF1ABD1A06610600F731F1 /* aku_modules_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = aku_modules_util.h; sourceTree = "<group>"; };
63CF1ABE1A06610600F731F1 /* aku_plugins.cpp.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = aku_plugins.cpp.in; sourceTree = "<group>"; };
63CF1ABF1A06610600F731F1 /* aku_plugins.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = aku_plugins.h; sourceTree = "<group>"; };
63CF1AC51A06654E00F731F1 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
63CF1AC71A06655F00F731F1 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -223,7 +221,7 @@
63D01EB61A3864620097C3E8 /* MOAIAppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MOAIAppDelegate.mm; path = "host-ios/MOAIAppDelegate.mm"; sourceTree = "<group>"; };
63D01EB71A3864620097C3E8 /* MOAIView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MOAIView.h; path = "host-ios/MOAIView.h"; sourceTree = "<group>"; };
63D01EB81A3864620097C3E8 /* MOAIView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MOAIView.mm; path = "host-ios/MOAIView.mm"; sourceTree = "<group>"; };
63D01EC01A38659C0097C3E8 /* hello-moai */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "hello-moai"; path = "../../samples/hello-moai"; sourceTree = "<group>"; };
63D01EC01A38659C0097C3E8 /* hello-moai */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "hello-moai"; path = "../../../samples/hello-moai"; sourceTree = "<group>"; };
63D01EC21A3865FB0097C3E8 /* libzlcrypto.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libzlcrypto.a; path = libmoai/lib/libzlcrypto.a; sourceTree = "<group>"; };
BD02B4111AB5C5BD006743DE /* libmoai-ios-movie.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmoai-ios-movie.a"; path = "libmoai/lib/libmoai-ios-movie.a"; sourceTree = "<group>"; };
BD02B4131AB5C769006743DE /* libmoai-apple.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmoai-apple.a"; path = "libmoai/lib/libmoai-apple.a"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -445,7 +443,6 @@
63CF1ABB1A06610600F731F1 /* aku_modules_ios_config.h */,
63CF1ABC1A06610600F731F1 /* aku_modules_util.cpp */,
63CF1ABD1A06610600F731F1 /* aku_modules_util.h */,
63CF1ABE1A06610600F731F1 /* aku_plugins.cpp.in */,
63CF1ABF1A06610600F731F1 /* aku_plugins.h */,
);
path = "host-modules";
Expand Down Expand Up @@ -554,7 +551,6 @@
63CF1AF91A066B7C00F731F1 /* main.lua in Resources */,
633667A71A3C4C100020E6BF /* Images.xcassets in Resources */,
63D01EC11A38659C0097C3E8 /* hello-moai in Resources */,
63CF1AC31A06610600F731F1 /* aku_plugins.cpp.in in Resources */,
63CF1A0B1A065C7700F731F1 /* [email protected] in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
1 change: 1 addition & 0 deletions host-templates/ios/Moai Template/host-ios
1 change: 1 addition & 0 deletions host-templates/ios/Moai Template/host-modules
1 change: 1 addition & 0 deletions host-templates/ios/Moai Template/libmoai

0 comments on commit 6ae7978

Please sign in to comment.