cmake can get -D options to create cache entries. However, my option lists are too long. Is there a better way to just read a file with <var>:<type>=<value> entries?
The other post is asking for something completely different: they want all generated config entries be stored and loaded. Thus cmake -LA will export and cmake -C will load all automatically generated cache entries which is NOT what I want.
I only want to import the -D options which can override or provide input to the CMakeLists.txt but let the rest entries automatically generated.