Search code examples
buildcygwinandroid-ndkcocos2d-x

NDK-Build how to rebuild project?


I am using a dual project structure cocos2d-x for windows and android, and using cygwin to build my project, at first it build the whole solution:

build

$ANDROID_NDK_ROOT/ndk-build -C $GAME_ANDROID_ROOT $*

but in posterior builds it does not build my modified files. How do I force it to rebuild the whole project?


Solution

  • Problem was solved by passing the clean parameter, another possible solution is to force by using the -B parameter.