GabeRundlett / gvox

MIT License
79 stars 6 forks source link

Make Odin integration easier #2

Closed BlackHole00 closed 1 year ago

BlackHole00 commented 1 year ago

In windows Odin-compatible libraries need an extra compiler switch for handling the runtime library (/MT). This PR makes easier to apply this change and makes possible to create an odin-compatible library by setting the GVOX_BUILD_FOR_ODIN to 1 (for example by generating the project using cmake . -D GVOX_BUILD_FOR_ODIN=1).

GabeRundlett commented 1 year ago

Looks good!