cmockery icon indicating copy to clipboard operation
cmockery copied to clipboard

can not find vsvars.bat

Open nzb15555196162 opened this issue 2 years ago • 2 comments

1 when i clone project 2 execute like readme in windows 3 can not fund vsvars.bat, is it a problem?

nzb15555196162 avatar Nov 02 '22 08:11 nzb15555196162

@nzb15555196162 vsvars.bat was a bat file that comes with Visual Studio. It basically sets up environmental variables to use the Visual Studio compiler / toolchain.

In more recent versions of Visual Studio this was renamed to VsDevCmd.bat, see https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022#developer-command-prompt

More in-depth information: https://renenyffenegger.ch/notes/Windows/development/Visual-Studio/environment-variables/index

The documentation could use an update, though arguably better C testing suites exist now and cmockery should only be used for legacy projects. I recommend Unity, Cgreen or Googletest.

seppestas avatar Mar 06 '24 18:03 seppestas

Duplicate of #66

seppestas avatar Mar 06 '24 18:03 seppestas