Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install nmake in windows

While I'm trying to run cmake on windows, I get the error that nmake cannot be found. It is to my understanding that nmake is the default build control software to use in windows but I haven't found any resources on how to download it and use it.

I am only interested in using vscode so I will prefer if I don't have to install Visual Studio.

like image 783
Isaac Anatolio Avatar asked Jan 30 '26 06:01

Isaac Anatolio


1 Answers

you can use the command: cmake -G "MinGW Makefiles" [folder]

-G means choosing generator.

[folder] is the folder where your CMakeLists.txt is located.

MinGW can be changed to Unix or others. It's depends on which generators you have.

like image 106
cyclone Avatar answered Feb 01 '26 20:02

cyclone



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!