Hi
Our usecase is to include some files directly into the binary as binary blobs (commonly eg images, shaders, fonts).
In CMake we used to do this with a macro, in VS we did it using a *.targets file. Both simply just call nasm which wraps the files up for linking them.
Now we would like to do the same in the new Premake based build.
From what we gathered already, Custom Rules were basically added for the purpose of defining custom build steps.
However the problem is that in the
Wiki example the Custom Rule is selected by file extension. This doesn't work for us, as we want to include
various file types as binary blobs.
Which exactly, we don't know in advance. It differs from project to project!
Any advice how to handle this?
Is there a way to directly give a list of files, to use a Custom Rule on?