I'm trying to incorporate physics effects for my rendering engine(C++,Android,iOS) using Bullet Physics. For Android platform I'm using CMake to build cpp libs with ndk. When I add the bullet libs(Bullet Collision,dynamics and linearmath) as target_link_libraries for my graphicsEngine lib, my Android App is loosing its debugging capability in AndroidStudio. My doubt is something wrong with the way im building my bullet libs. I can see generated libs libBulletCollision.so..etc.. in the following path.
build\intermediates\transforms\stripDebugSymbol\google\debug\0\lib\armeabi-v7a
Any help or suggestion appreciated..
Folder structure for CMakeLists of BulletPhysics
cpp------
--BulletInclude-----
----BulletCollision-
----BulletDynamics--
----LinearMath------
----CMakeLists.txt
--GLEngine----------
--CMakeLists.txt
Each folder in BulletInclude has a CMakeLists.txt with the following structure
ADD_LIBRARY(libname
SHARED
required cpp files)
TARGET_LINK_LIBRATIES(libname otherlibname)