mortoray.com
Embedding a text file in C++ code (with Scons)
I needed a way to embed a text file in my C++ code. I recently introduced Leaf code into the Leaf compiler and didn’t want to depend on a file dependency at runtime. I found a way to embed th…