diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2020-04-17 15:49:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 15:49:59 -0700 |
| commit | 556325a1f7b6049d91565257c00db2f0bf1eadc5 (patch) | |
| tree | 82485596a6285844862b431e6930c306b33cd484 /toolsrc/vcpkglib | |
| parent | 71377f69e255414ccf3569a8a772fc89ee9f89ff (diff) | |
| download | vcpkg-556325a1f7b6049d91565257c00db2f0bf1eadc5.tar.gz vcpkg-556325a1f7b6049d91565257c00db2f0bf1eadc5.zip | |
[vcpkg] Add x-set-installed command (#10817)
This command takes a list of ports, and causes the final state of the
installed directory to be as-if one ran the install on an empty
installed directory (removing any unnecessary packages).
This is especially useful with the new `--x-install-root` option, which
allows one to set the `installed` directory for vcpkg to use.
Additionally, as a drive-by, we do some `stdfs` clean-up and add a
`.is_feature()` member function to BinaryParagraph (as opposed to
checking for `.feature().empty()`, which is far less clear to read).
This feature is experimental.
Diffstat (limited to 'toolsrc/vcpkglib')
| -rw-r--r-- | toolsrc/vcpkglib/vcpkglib.vcxproj | 1 | ||||
| -rw-r--r-- | toolsrc/vcpkglib/vcpkglib.vcxproj.filters | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/toolsrc/vcpkglib/vcpkglib.vcxproj b/toolsrc/vcpkglib/vcpkglib.vcxproj index ed80a210e..f054fe1ad 100644 --- a/toolsrc/vcpkglib/vcpkglib.vcxproj +++ b/toolsrc/vcpkglib/vcpkglib.vcxproj @@ -253,6 +253,7 @@ <ClCompile Include="..\src\vcpkg\commands.porthistory.cpp" />
<ClCompile Include="..\src\vcpkg\commands.portsdiff.cpp" />
<ClCompile Include="..\src\vcpkg\commands.search.cpp" />
+ <ClCompile Include="..\src\vcpkg\commands.setinstalled.cpp" />
<ClCompile Include="..\src\vcpkg\commands.upgrade.cpp" />
<ClCompile Include="..\src\vcpkg\commands.version.cpp" />
<ClCompile Include="..\src\vcpkg\commands.xvsinstances.cpp" />
diff --git a/toolsrc/vcpkglib/vcpkglib.vcxproj.filters b/toolsrc/vcpkglib/vcpkglib.vcxproj.filters index 4e2bbb45a..e9441f72c 100644 --- a/toolsrc/vcpkglib/vcpkglib.vcxproj.filters +++ b/toolsrc/vcpkglib/vcpkglib.vcxproj.filters @@ -87,6 +87,9 @@ <ClCompile Include="..\src\vcpkg\commands.search.cpp">
<Filter>Source Files\vcpkg</Filter>
</ClCompile>
+ <ClCompile Include="..\src\vcpkg\commands.setinstalled.cpp">
+ <Filter>Source Files\vcpkg</Filter>
+ </ClCompile>
<ClCompile Include="..\src\vcpkg\commands.version.cpp">
<Filter>Source Files\vcpkg</Filter>
</ClCompile>
@@ -441,4 +444,4 @@ <Filter>Header Files\vcpkg</Filter>
</ClInclude>
</ItemGroup>
-</Project>
\ No newline at end of file +</Project>
|
