soloud icon indicating copy to clipboard operation
soloud copied to clipboard

Build script improvement.

Open vk2gpu opened this issue 10 years ago • 0 comments

As I'm adding Android support, this is being done through my own build scripts (which are basically just the current ones + some extra bits to easily support building on other platforms).

What I think may need to be added is support for targeting different toolchains. An example of this can be located here: https://github.com/bkaradzic/bx/blob/master/scripts/toolchain.lua. In that script I believe the Android & asmjs toolchains will only work on Linux or OSX, but I can't confirm this (I only know I had to do a bit more work to get Android going on Win/Lin/OSX).

For my own code base I added a simple build tool which would invoke GENie for me, and let me select from the toolchain I wish to generate makefiles/project files for. Similar could be done for SoLoud potentially, allowing to enable/disable backends when building for certain platforms. That may perhaps be a bit overkill, but an idea.

vk2gpu avatar Jul 23 '15 22:07 vk2gpu