How do I use CMake?

后端 未结 6 549
生来不讨喜
生来不讨喜 2020-11-28 20:15

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

6条回答
  •  無奈伤痛
    2020-11-28 20:51

    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.

提交回复
热议问题