How to use C++ for Android?

Hi everyone :),

Recently we’ve set up SDL for Android using C. I’ve heard that it is possible to use C++ on Android too. How does this work?

Do we need to specify this somewhere during compilation? We want to port an existing C++ game to Android. That is why I ask this question.

Thanks in advance!

Ztrategist

I suppose the best is to see some real code for this - check out this one
e.g.: https://github.com/floooh/oryol/tree/master/code/Modules/Core/androidOn Tue, Oct 11, 2016 at 9:06 PM, Ztrategist wrote:

Hi everyone [image: Smile],

Recently we’ve set up SDL for Android using C. I’ve heard that it is
possible to use C++ on Android too. How does this work?

Do we need to specify this somewhere during compilation? We want to port
an existing C++ game to Android. That is why I ask this question.

Thanks in advance!

Ztrategist


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://www.caveproductions.org