taka-no-me / android-cmake

CMake toolchain file and other scripts for the Android NDK
1.22k stars 437 forks source link

Create AndroidNdkGdb.cmake #19

Closed paroj closed 10 years ago

paroj commented 10 years ago

allow debugging projects created with the android toolchain with NDK-GDB

taka-no-me commented 10 years ago

Hi Pavel, thanks for the contribution.

May I ask you to make few changes:

paroj commented 10 years ago

Hey Andrey, I added checks for existing *.mk files so it should be possible to maintain a Android make and a CMake build in parallel. However I still overwrite gdb.setup as it is an auto-generated file by ndk-build.

taka-no-me commented 10 years ago

However I still overwrite gdb.setup as it is an auto-generated file by ndk-build.

Ok. I think we can go as is.

ngaloppo commented 10 years ago

Hi @paroj how do we use this cmake file to enable ndk-gdb?

paroj commented 10 years ago

@ngaloppo see #20