Hi,
I am trying to store a text file as a resource for a library I am building using this tool :
https://github.com/vector-of-bool/cmrc/tree/2.0.1
It works out fine as I compile + execute my program. But when I try to create a static lib from it, the tool's source code isn't linked into my generated .lib file so I cannot access it afterwards (from an outside program, linking with my lib). I am compiling using MSVC (Visual Studio 16)
The final goal is for my program to be linked by a DLL, with the text file included inside of it, as part of the library, so that I don't have to provide/copy additional files with the library. My goal is pretty similar to what is asked inside this post https://stackoverflow.com/questions/8248731/embedding-opencl-code-into-executable ; except I don't want to have clear code directly available in my .lib file.