Looking for a tool to create C-arrays with data from a file
<p>Input: filename.bin</p>

<p>Output:</p>

<pre><code>char file_filename_data[] = {
0x47, 0x45, 0x54, 0x20, 0x2f, 0x63, 0x61, 0x6d, 
0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x20, 0x48, 0x54, 
0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0x0d, 0x0a, 
0x48, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0x79, 0x6d, 
0x61, 0x70, 0x2e, 0x64, 0x79, 0x6e, 0x64, 0x6e, 
0x73, 0x2e, 0x6f, 0x72, 0x67, 0x0d, 0x0a, 0x55, 
0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 
0x74, 0x3a, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 
...
}; // This is the data from the file "filename.bin"

size_t file_filename_size = 1234;
</code></pre>

<p>I want to store some text files inside an executable file. I am using CMake and building C++ project both in linux and in windows.</p>

<p>Thank you!</p>
