thebrowsercompany / windows-samples

Sample Apps for Swift on Windows
MIT License
262 stars 13 forks source link

nmake error #9

Closed stefanspringer1 closed 7 months ago

stefanspringer1 commented 8 months ago

When running cmake --preset debug from the normal command line, I get the following error:

CMake Error at CMakeLists.txt:2 (project):
  Running

   'nmake' '-?'

  failed with:

   no such file or directory

Note that nmake is not available form this command line, despite having installed cmake. I could not find any hint how nmake is to be installed.

But when running from the VS Native Tools Command Prompt, it works with any error. Note that nmake is available from within the VS Native Tools Command Prompt.

stefanspringer1 commented 8 months ago

Again, did not read the README carefully enough, it says "Each sample application has it's own top-level directory in this repo. You can open the corresponding .code-workspace file in VSCode for the sample ...". I had accidentally opened the whole repo in VS Code resp. in the command line. My error, sorry.

Please close the issue. Thanks!