Skip to content

Instantly share code, notes, and snippets.

@sakibguy
Forked from BoldBigflank/Android.mk
Created April 11, 2021 12:12
Show Gist options
  • Save sakibguy/5e5611b612ce510f88dfc0638784e6c6 to your computer and use it in GitHub Desktop.
Save sakibguy/5e5611b612ce510f88dfc0638784e6c6 to your computer and use it in GitHub Desktop.
android/jni/
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := game_shared
LOCAL_MODULE_FILENAME := libgame
LOCAL_SRC_FILES := hellocpp/main.cpp \
../../Classes/AppDelegate.cpp \
../../Classes/HelloWorldScene.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \
$(LOCAL_PATH)/../../libs/Box2d
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static cocos_extension_static box2d_static
include $(BUILD_SHARED_LIBRARY)
$(call import-module,CocosDenshion/android) \
$(call import-module,cocos2dx) \
$(call import-module,extensions) $(call import-module,Box2D)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment