GNUToMS: Tolerate existence of a %USERPROFILE%/source directory

The VS environment script we load changes the working directory to
`%USERPROFILE%/source` if it exists.  Set `VSCMD_START_DIR` to tell
the script to retain the current working directory.
This commit is contained in:
Albert Ziegenhagel
2017-08-25 14:24:24 -04:00
committed by Brad King
parent ebe436eb97
commit f362052b81
+1
View File
@@ -1,3 +1,4 @@
@echo off
set VSCMD_START_DIR=.
call "@CMAKE_GNUtoMS_BAT@"
lib /machine:"@CMAKE_GNUtoMS_ARCH@" %*