Skip to content

Instantly share code, notes, and snippets.

Created May 30, 2013 05:38
Show Gist options
  • Save anonymous/5675900 to your computer and use it in GitHub Desktop.
Save anonymous/5675900 to your computer and use it in GitHub Desktop.
A Batchfile to set Visual Studio environmental variables, the launch a console emulator, which will have those variables defined. CMake will then detect the given Visual Studio compiler when using the Ninja generator.
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvarsx86_amd64.bat"
call "C:\Program Files\ConEmu\ConEmu64.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment