HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by endless90 | Hacker News Reader
Full thread
endless90
·
Is it possible to automate this with cmake?
View on HN
tambre
·
You may want to checkout the CMRC library (CMake Resource Compiler) [0].
[0]:
https://github.com/vector-of-bool/cmrc
je42
·
nice!
lolaso
·
perfect
MaxBarraclough
·
Neat. 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.
idoby
·
I used to have this automated as part of a makefile, so I'd say yes.
kevin_thibedeau
·
You can use add_custom_command() to run a script that generates an assembly file using the incbin directive.
Reply on news.ycombinator.com