Last active
January 4, 2019 13:03
-
-
Save ugonight/ce691f4a4d957052276ef63190bd5e68 to your computer and use it in GitHub Desktop.
AndroidStudio&cmakeでcocos2d-xをビルドする ref: https://qiita.com/ugonight_nanase/items/0cab13437dfa2ae003bd
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
# add cross-platforms source files and header files | |
# list(APPEND GAME_SOURCE | |
# Classes/AppDelegate.cpp | |
# Classes/HelloWorldScene.cpp | |
# ) | |
file(GLOB_RECURSE GAME_SOURCE RELATIVE ${CMAKE_SOURCE_DIR} CONFIGURE_DEPENDS "Classes/*.cpp") | |
# list(APPEND GAME_HEADER | |
# Classes/AppDelegate.h | |
# Classes/HelloWorldScene.h | |
# ) | |
file(GLOB_RECURSE GAME_HEADER RELATIVE ${CMAKE_SOURCE_DIR} CONFIGURE_DEPENDS "Classes/*.h") |
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
# android native code build type | |
# none, native code will never be compiled. | |
# cmake, native code will be compiled by CMakeLists.txt | |
# ndk-build, native code will be compiled by Android.mk | |
PROP_BUILD_TYPE=cmake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment