share object code between targets
hide internal symbols in jni lib, default build type to RelWithDebInfo