I have Visual C++ Build Tools 2015 | Standalone compiler, libraries and scripts installed on a low-end netbook. It's necessary, because the machine has a small eMMC soldered to the board with no real space available.
nmake
is installed at %PROGRAM FILES%\Microsoft Visual Studio 14.0\VC\bin
. However, CMake cannot find it when attempting to generate the Makefile. I'd like to use a -D
to tell CMake what the makefile program is, but I am having trouble locating the list of -D defines for CMake.
For completeness, I'm trying to avoid other Microsoft tools. I have LLVM build tools at C:\LLVM\bin
, so I'm setting CMAKE_C_COMPILER
and CMAKE_CXX_COMPILER
. But I needed nmake
, because I can't find a stand-alone Make program for Windows already built.
What is the -D
define to specify nmake for CMake?