I suspect what I want to do is create something like a binary library or .obj that I can just feed the linker, but I'm not even sure which of TFM to R for this.
I have a large binary LUT (2 million 32 bit values.) It takes a long time to calculate and I really want to avoid recomputing it each time the application runs. I'd also prefer not to store it as a separate file and read it in, which is what I am doing now.
For smaller LUTs I'd normally just do a header file with suitable entry declarations, but in this case that seems fairly untenable and a will generate lot of overhead just generating the header file.
Development target and environment is a CMAKE application created by Visual Studio 2019 Community Edition.