[CMake] Errors trying to use CMake to generate NMake makefiles.
Bill Hoffman
bill.hoffman at kitware.com
Wed Jun 19 13:04:26 EDT 2013
On 6/19/2013 12:54 PM, Hal Canary wrote:
> I normally use CMake on Linux or MacOS, but I want to test the
> cross-platformness of my programs. When I test on Windows with the
> "NMake Makefiles" Generator, I get the error "CMake Error: your CXX
> compiler: "cl" was not found."
>
> In this console window, the commands cl and rc each work correctly.
Are you sure?
Can you type:
cl
You can also set CC and CXX to be cl for the compiler. But it looks
like cl was not in your PATH. Are you running the VS command prompt?
-Bill
More information about the CMake
mailing list