xmake
Created: 2021-09-25T21:53:47-05:00
Return to the Index
This card pertains to a resource available on the internet.
Tried on 2021-09-25
- Documentation on how to bring your own tasks is crap; it tells you the minimum of how to use the API and you have to mine the documentation to figure out how to even run os.exec to build something.
- Build commands sit next to BuildCmd commands but there's a huge shift in burden
- BuildCmd makes/lets you manage generated dependencies but Build does not
- There are 'kinds' but it's all C centric; 'objects' loses the filename so using it to produce an ebook is a pain in the ass
- Protobuf and Capnproto use some "autogenfile" which is never mentioned in the docs.
- Basically it's CMake but Lua
- There is a neat option to generate makefiles so you don't need xmake and i like this
- But it didn't work with the gsl stuff because "no linker for objects.{}"
- Opened a ticket upstream about this; will probably be closed but we'll see.
I would be supportive of using this with suitable documentation.
It should be really easy to copy/paste a piece to support ex. GSL or whatever formats you need so you can use it for other things.
For example making a target that compresses audio and texture assets for the correct platform.