Published:

Jarle Aase

mkres - embed compressed files in your C++ code

bookmark 1 min read

I wrote a blog-post 6 years ago about Compiling and using a code-generator with CMake.

Today I released version 0.1 of the code generator, mkres as a stand-alone project.

I have used the utility in various incarnations over the years. Recently I needed a handful of new features; recursive scanning of directories, filtering of files and compression. This made it natural for me to re-create mkres as a separate project.

The code is pretty simple. The only slightly cool thing I did was to implement gzip compression as a C++20 std::ranges transformer.

The code is released on Github wit MIT license: mkres