3 ms·
It might take a bit of effort, but should be possible. One problem for libraries like SDL is they disable all their per platform code with #ifdefs. To build
by phire 6y ago
It might take a bit of effort, but should be possible.
One problem for libraries like SDL is they disable all their per platform code with #ifdefs.
To build a static, cross platform version you would have to convert them all those #ifdefs to runtime branching, dynamically load libraries and provide headers files for all platforms.