How do I use CMake?

后端 未结 6 551
生来不讨喜
生来不讨喜 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:35

    Cmake from Windows terminal:

    mkdir build
    cd build/
    cmake ..
    cmake --build . --config Release
    ./Release/main.exe
    

提交回复
热议问题