
Cmake generator windows generator#
Use this generator under a Windows command prompt with MinGW (Minimalist GNU for Windows) in the PATH and using mingw32-make as the build tool.

Generates makefiles for use with mingw32-make under a Windows command prompt. To build under a Windows command prompt, use the MinGW Makefiles generator. They are not compatible with a Windows command prompt. The generated makefiles use /bin/sh as the shell to launch build rules. Use this generator in a MSYS shell prompt and using make as the build tool. Generates makefiles for use with MSYS (Minimal SYStem) make under the MSYS shell. In order to use them, one must launch CMake from a command-line prompt whose environment is already configured for the chosen compiler and build tool.

These generators support command-line build tools. Cmake Generators Command-Line Build Tool Generators The cmake-gui(1) offers interactive selection of a generator when creating a new build tree. Use its -G option to specify the generator for a new build tree. The cmake(1) command-line tool -help output lists available generators on the current platform. Optionally one of the Extra Generators may be selected as a variant of some of the Command-Line Build Tool Generators to produce project files for an auxiliary IDE.ĬMake Generators are platform-specific so each may be available only on certain platforms.

Exactly one of the CMake Generators must be selected for a build tree to determine what native build system is to be used.
