Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Include my library for Android  (Read 1458 times)

0 Members and 2 Guests are viewing this topic.

sitev_ru

  • Newbie
  • *
  • Posts: 3
    • View Profile
Include my library for Android
« on: February 08, 2018, 08:07:39 am »
I set up a simple project compilation on SFML under Android https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android-on-Windows. A simple project works!

But I in my game brought some classes to the external static library. Call it mylib. How to organize a library and a project for Android?

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Include my library for Android
« Reply #1 on: February 08, 2018, 09:22:40 am »
Use CMake the same way you do for building SFML or setup your own ndk-build directory (read the docs). Or even easier: just add the source files to your app.