RandyGaul / cute_framework

The *cutest* framework out there for creating 2D games in C++!
https://randygaul.github.io/cute_framework/#/
Other
534 stars 31 forks source link

Add option to build a library rather than framework on Apple #203

Closed pusewicz closed 1 month ago

pusewicz commented 1 month ago

For Apple devices, we always build the library as cute.framework which I don't think is necessary.

SDL3 gives you an option to pick, with the default being off: https://github.com/libsdl-org/SDL/blob/940f7535ef28cf663752d532756e2cb54f0342fc/CMakeLists.txt#L245

Something similar should be done for Cute.

RandyGaul commented 1 month ago

I’m happy to explore this. Do you have any suggestions or PR on altering the cmake build setup?