aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/vcpkglib
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-02-08 22:45:36 -0800
committerGitHub <noreply@github.com>2020-02-08 22:45:36 -0800
commitf7fb56decd9d03cf79a1d23f44daa3a23560b995 (patch)
tree3ab3d78aa90da2d368a16b65ae624e263e26d19e /toolsrc/vcpkglib
parentb20c6d3b89b9fa22a19e3609e6df2fcfc20f968f (diff)
downloadvcpkg-f7fb56decd9d03cf79a1d23f44daa3a23560b995.tar.gz
vcpkg-f7fb56decd9d03cf79a1d23f44daa3a23560b995.zip
[vcpkg] Use CreateProcess on Windows. Improve EnvVars manipulation and handling. (#9897)
* [vcpkg] Rewrite process spawning on windows to always use CreateProcess, enabling better environment handling * [vcpkg] Use environment cache to avoid calling vcvars multiple times * [vcpkg] Increase buffer size while computing hashes * [vcpkg] Remove unneeded cmd.exe wrapper process on all CreateProcess calls * [vcpkg] Fix .vcxproj{,.filters} * [vcpkg] Upgrade Ctrl-C state machine to handle multiple background processes. * [vcpkg] Fix regression while launching metrics: 'start' can't be passed directly to CreateProcessW * [vcpkg] Fix typo on non-Windows * [vcpkg] Fix various uses of >NUL across the code * [vcpkg] Fix various uses of >NUL across the code
Diffstat (limited to 'toolsrc/vcpkglib')
-rw-r--r--toolsrc/vcpkglib/vcpkglib.vcxproj1
-rw-r--r--toolsrc/vcpkglib/vcpkglib.vcxproj.filters3
2 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/vcpkglib/vcpkglib.vcxproj b/toolsrc/vcpkglib/vcpkglib.vcxproj
index e033625a0..a36cb9bd0 100644
--- a/toolsrc/vcpkglib/vcpkglib.vcxproj
+++ b/toolsrc/vcpkglib/vcpkglib.vcxproj
@@ -227,6 +227,7 @@
<ClCompile Include="..\src\vcpkg\base\stringview.cpp" />
<ClCompile Include="..\src\vcpkg\base\system.cpp" />
<ClCompile Include="..\src\vcpkg\base\system.print.cpp" />
+ <ClCompile Include="..\src\vcpkg\base\system.process.cpp" />
<ClCompile Include="..\src\vcpkg\binaryparagraph.cpp" />
<ClCompile Include="..\src\vcpkg\build.cpp" />
<ClCompile Include="..\src\vcpkg\cmakevars.cpp" />
diff --git a/toolsrc/vcpkglib/vcpkglib.vcxproj.filters b/toolsrc/vcpkglib/vcpkglib.vcxproj.filters
index d7adfcdfd..bc0a37029 100644
--- a/toolsrc/vcpkglib/vcpkglib.vcxproj.filters
+++ b/toolsrc/vcpkglib/vcpkglib.vcxproj.filters
@@ -228,6 +228,9 @@
<ClCompile Include="..\src\vcpkg\portfileprovider.cpp">
<Filter>Source Files\vcpkg</Filter>
</ClCompile>
+ <ClCompile Include="..\src\vcpkg\base\system.process.cpp">
+ <Filter>Source Files\vcpkg\base</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\include\pch.h">