Skip to content

Instantly share code, notes, and snippets.

@AntonioCS
Created July 10, 2019 05:47
Show Gist options
  • Select an option

  • Save AntonioCS/d65baeac4e48d6155e7a081ebcfa586b to your computer and use it in GitHub Desktop.

Select an option

Save AntonioCS/d65baeac4e48d6155e7a081ebcfa586b to your computer and use it in GitHub Desktop.
@echo off
cmake -G "Visual Studio 16 2019" -A x64 -B %~dp0\build\msvc -DCMAKE_INSTALL_PREFIX:PATH=%~dp0 %~dp0
if %errorlevel% == 0 (
cmake --open %~dp0\build\msvc
) else (
pause
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment