From a58cdf625e53da5487cb15ceb5704882eef10fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Lucr=C3=A8ce=20C=C3=A9leste?= Date: Sat, 13 Oct 2018 01:50:43 -0400 Subject: [PATCH] add pre-build script for building barrier on windows from SSH (#152) I build barrier on windows from SSH, as such, I need a way to invoke the "Developer Command Prompt for VS 2017" without a GUI. This simple one-line batch script gets the job done. I thought it might be handy to upstream it. process I use to build on windows: ```shell $ ssh owner@10.0.0.209 owner@DESKTOP-C2IV8E5 C:\Users\Owner> cd Documents\GitHub\barrier\ owner@DESKTOP-C2IV8E5 C:\Users\Owner\Documents\GitHub\barrier> pre-build.bat owner@DESKTOP-C2IV8E5 C:\Users\Owner\Documents\GitHub\barrier> clean_build.bat ``` --- pre-build.bat | 1 + 1 file changed, 1 insertion(+) create mode 100644 pre-build.bat diff --git a/pre-build.bat b/pre-build.bat new file mode 100644 index 00000000..0c789037 --- /dev/null +++ b/pre-build.bat @@ -0,0 +1 @@ +%comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"