5 ms·
Is it possible to automate this with cmake?
by endless90 7y ago
Is it possible to automate this with cmake?
- idoby 7y agoI used to have this automated as part of a makefile, so I'd say yes.
- tambre 7y agoYou may want to checkout the CMRC library (CMake Resource Compiler) [0]. [0]: https://github.com/vector-of-bool/cmrc https://github.com/vector-of-bool/cmrc
- je42 7y agonice!
- lolaso 7y agoperfect
- MaxBarraclough 7y agoNeat. Looks a little more complex than it needs to be though, and I'm surprised it targets C++ (and even relies on exceptions) with no support for C.
- kevin_thibedeau 7y agoYou can use add_custom_command() to run a script that generates an assembly file using the incbin directive.