forked from cocos2d/cocos2d-x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cocos2d#714 from minggo/ndk_module
fixed cocos2d#970: use modules in the android ndk build
- Loading branch information
Showing
13 changed files
with
40 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_STL := gnustl_static | ||
APP_CPPFLAGS += -frtti | ||
|
||
APP_MODULES := cocos2d cocosdenshion lua game_logic game | ||
APP_MODULES := cocos2dx_shared cocosdenshion_shared lua_shared game_logic_shared game_shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := game | ||
|
||
LOCAL_SRC_FILES := main.cpp | ||
LOCAL_MODULE := game_shared | ||
|
||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../cocos2dx \ | ||
$(LOCAL_PATH)/../../../../cocos2dx/platform \ | ||
$(LOCAL_PATH)/../../../../cocos2dx/include \ | ||
$(LOCAL_PATH)/../../../../lua/cocos2dx_support \ | ||
$(LOCAL_PATH)/../../../Classes | ||
LOCAL_MODULE_FILENAME := libgame | ||
|
||
LOCAL_SRC_FILES := main.cpp | ||
|
||
LOCAL_LDLIBS := -L$(call host-path, $(LOCAL_PATH)/../../libs/$(TARGET_ARCH_ABI)) \ | ||
-lcocos2d \ | ||
-lgame_logic | ||
LOCAL_SHARED_LIBRARIES := cocos2dx_shared game_logic_shared | ||
|
||
include $(BUILD_SHARED_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_STL := gnustl_static | ||
APP_CPPFLAGS += -frtti | ||
|
||
APP_MODULES := cocos2dx_shared cocosdenshion_shared game_shared helloworld_shared | ||
APP_MODULES := cocos2dx_shared cocosdenshion_shared game_logic_shared helloworld_shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE := game | ||
|
||
LOCAL_MODULE := game_shared | ||
|
||
LOCAL_MODULE_FILENAME := libgame | ||
|
||
LOCAL_SRC_FILES := main.cpp | ||
|
||
LOCAL_SHARED_LIBRARIES := cocos2dx_shared game_shared | ||
LOCAL_SHARED_LIBRARIES := cocos2dx_shared game_logic_shared | ||
|
||
include $(BUILD_SHARED_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
APP_STL := stlport_static | ||
APP_CPPFLAGS += -frtti | ||
APP_MODULES := cocos2dx_shared cocosdenshion_shared game_shared game | ||
APP_MODULES := cocos2dx_shared cocosdenshion_shared game_logic_shared game_shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_STL := gnustl_static | ||
APP_CPPFLAGS += -frtti | ||
|
||
APP_MODULES := cocos2dx_shared cocosdenshion_shared chipmunk_shared box2d_shared game_shared tests_shared | ||
APP_MODULES := cocos2dx_shared cocosdenshion_shared chipmunk_shared box2d_shared game_logic_shared tests_shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters