您好,登录后才能下订单哦!
cocos2d-x移植android的时候需要通过Android.mk编译jni,在jni下有个list.sh文件,在shell中执行以下命令即可列出cpp文件。
./list.sh ../../Classes
如下:
MAC:jni mutoo$ ./list.sh ../../Classes
../../Classes/AppDelegate.cpp \
../../Classes/Layer/GameLayerPlus.cpp \
../../Classes/Layer/MainLayer.cpp \
../../Classes/Layer/MenuLayer.cpp \
../../Classes/Layer/ModeLayer.cpp \
../../Classes/Layer/PauseLayer.cpp \
../../Classes/Layer/ResultLayer.cpp \
../../Classes/Layer/ScoreLayer.cpp \
../../Classes/Layer/SplashLayer.cpp \
../../Classes/Layer/TimerLayer.cpp \
../../Classes/Menu/ConfigMenu.cpp \
../../Classes/Menu/MainMenu.cpp \
../../Classes/Menu/ModeMenu.cpp \
../../Classes/Menu/PauseMenu.cpp \
../../Classes/Scene/GameScene.cpp \
../../Classes/Scene/MainMenuScene.cpp \
拷贝以上列表到Android.mk中即可,如果jni下没有,可以在附件中下载
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。