I am trying to use CMake in order to compile opencv.
I am reading the tutorial but can\'t understand what is CMakeLists files and how is it connected to the gui of C
CMake takes a CMakeList file, and outputs it to a platform-specific build format, e.g. a Makefile, Visual Studio, etc.
You run CMake on the CMakeList first. If you're on Visual Studio, you can then load the output project/solution.