Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Greetings!

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

What I have tried:

Searched the www but all I get are hints concerning linux.
Posted
Comments
Richard MacCutchan 2-Oct-19 4:10am    
Use the command line just as you do in Linux.
WolfG1 2-Oct-19 10:12am    
So why would I use the CMake GUI on windows if I finally end up using a shell?
If using a GUI I'd expect to do all the tasks within the GUI.
Otherwise I'd right away use the shell, regardless if unix or windows.
Richard MacCutchan 2-Oct-19 10:45am    
Well if there is no option in the GUI, than you may have no choice. You could try Issues · CMake / CMake · GitLab[^].
WolfG1 2-Oct-19 14:50pm    
Yes; guess I have to dig into CMakeFile.txt format/syntax if I cont using CMake GUI on wndows.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900