Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
endless90
· 6y ago · 0 comments
Is it possible to automate this with cmake?
Comments
[–]
tambre
6y ago
You may want to checkout the CMRC library (CMake Resource Compiler) [0].
[0]:
https://github.com/vector-of-bool/cmrc
[–]
MaxBarraclough
6y ago
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.
[–]
lolaso
6y ago
perfect
[–]
je42
6y ago
nice!
[–]
idoby
6y ago
I used to have this automated as part of a makefile, so I'd say yes.
[–]
kevin_thibedeau
6y ago
You can use add_custom_command() to run a script that generates an assembly file using the incbin directive.