For CMake generated make files, use CMake-make or MINGW-make?

asked 2015-01-31 11:04:37 -0600

louarnold gravatar image

Rebuild instructions that I have from the web indicate the use of the terminal commands "MINGW32-make" and "MINGW32-make install". I would have expected to use "cmake-make" and "cmake-make install" instead, but cmake-make does not exist. Is CMake strictly for creating make files? Can it not be used execute the make scripts it generates? Am I missing something here?

This for Win 7 64 bit and Eclipse CDT and not the MSVS tools. I have installed CMake, MINGW32 and OpenCV 2.4.10 I have run CMake-gui and understand it. I am now experimenting with re-building OpenCV.

edit retag flag offensive close merge delete

Comments

1

"Is CMake strictly for creating make files" - yes (or for generating any other kind of project files)

also, yes, if using mingw, you will have to specify your compiler and make tool explicitly, like:

cmake -D CMAKE_CXX_COMPILER="D:\Programme\MinGW\bin\mingw32-g++.exe" -D CMAKE_MAKE_PROGRAM="D:\Programme\MinGW\bin\mingw32-make.exe"
berak gravatar imageberak ( 2015-01-31 11:19:40 -0600 )edit