CMake save config
Greetings!
I hope not being too off topic, cause the question has not directly to do with OpenCV.
This is a Windows 10 installation and I use CMake 3.15.3 to configure and generate opencv 4.1.0.
I change several options within the CMake GUI and would like to save GMakeLists.txt for later reuse, e.g. new openCV version.
I see that there is a .cache directory, but the entries dont seem suitable.
On a linux I'd use the commandline option, but I'm on win10.
What I want to do: after successful config, genereate and build I want to save all configuration options for being reused at a later time.
Thanks for hints, Wolf
"On a linux I'd use the commandline option, but I'm on win10." Use git bash on windows 10 as linux
Yes, could do that; However I'm not too fond additionally installing yet another tool for compiling. I assume using this way I have to use the 'CMake My Changes' file/copy paste?
you can use command prompt too and may be powershell
Your are right. But using a GUI such as CMakeGUI it seems to be pointless changing and adding options within the GUI and then having to switch to a shell just to save the changes just being applied in the GUI. There must be a feature for simply saving the entire CMakeFiles.txt including the changes applied before generation.
Finally your question is off topics. try to ask on [email protected]
Thanks for your time