BrunoLevy / geogram

a programming library with geometric algorithms
Other
1.9k stars 129 forks source link

How to build for iOS? #15

Closed EShi538 closed 2 years ago

EShi538 commented 2 years ago

Is it possible to build this for iOS?

BrunoLevy commented 2 years ago

Hi, I never tried to compile geogram on iOS, The only non-portable part is geogram_gfx, that uses OpenGL (which I think is not supported on IOS), so you may need to create a CMakeOptions.txt file with set(GEOGRAM_WITH_GRAPHICS OFF), see geogram/CMakeOptions.txt.sample for an example. You may also need to create a new cmake/platforms/ios.cmake file and specify some options there.

EShi538 commented 2 years ago

Thanks