diff --git a/docs/android_toolchain.txt b/docs/android_toolchain.txt index 4771b929be..22be6ed6bc 100644 --- a/docs/android_toolchain.txt +++ b/docs/android_toolchain.txt @@ -23,4 +23,12 @@ Mac OS X: !!!!! For any system !!!!! -- See additional scripts and follow their instructions in /tools/android \ No newline at end of file +- See additional scripts and follow their instructions in /tools/android + +How to configure Debug/Release configurations in Eclipse: + +- Go to project properties/C++ build +- Set additional parameter for ndk-build: NDK_DEBUG=1 +- Go to "manage configurations" at the top left and rename active Default configuration to Debug +- Copy Debug configuration and rename it to Release +- Change ndk-build's parameter NDK_DEBUG=1 to NDK_DEBUG=0 in Release