[CMake] ctest with cmake without compiler

Bill Hoffman bill.hoffman at kitware.com
Mon Feb 9 07:52:04 EST 2009


Verweij, Arjen wrote:
> Hi,
> 
> Yes, it certainly disables some checks. Thanks for the pointer.
> 
> However, on an NT system without Visual Studio for instance, but with
> nmake.exe (or make.exe of msys), I still cannot have cmake generate
> Makefiles:
> 
> $ cmake .
> CMake Error: CMake was unable to find a build program corresponding to
> "Visual Studio 6".  CMAKE_MAKE_PROGRAM is not set.  You probably need to
> select a different build tool.
> -- Configuring incomplete, errors occurred!
> 

cmake -G"Unix Makefiles"  should do the trick.  Or cmake -G"NMake 
Makefiles".

-Bill


More information about the CMake mailing list