Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[command:depend-info] Add tree display #74

Merged
merged 12 commits into from
Nov 14, 2021

Conversation

JackBoosY
Copy link
Contributor

@JackBoosY JackBoosY commented May 7, 2021

Example:

PS F:\vcpkg> .\vcpkg depend-info gdal --sort=x-tree
gdal
+-- cfitsio
|   +-- zlib
+-- curl
|   +-- zlib
+-- expat
+-- geos
+-- giflib
+-- hdf5
|   +-- szip
|   +-- zlib
+-- libgeotiff
|   +-- libjpeg-turbo
|   +-- proj4
|   |   +-- sqlite3
|   |   +-- sqlite3
|   |   +-- tiff
|   |       +-- libjpeg-turbo
|   |       +-- liblzma
|   |       +-- zlib
|   +-- tiff
|   |   +-- libjpeg-turbo
|   |   +-- liblzma
|   |   +-- zlib
|   +-- zlib
+-- liblzma
+-- libpng
|   +-- zlib
+-- libpq
|   +-- openssl
|   +-- zlib
+-- libwebp
+-- libxml2
|   +-- libiconv
|   +-- liblzma
|   +-- zlib
+-- netcdf-c
|   +-- curl
|   |   +-- zlib
|   +-- hdf5
|       +-- szip
|       +-- zlib
+-- openjpeg
+-- proj4
|   +-- sqlite3
|   +-- sqlite3
|   +-- tiff
|       +-- libjpeg-turbo
|       +-- liblzma
|       +-- zlib
+-- sqlite3
+-- zlib
+-- zstd

Current:

PS F:\vcpkg> .\vcpkg depend-info gdal
libjpeg-turbo:
liblzma:
zlib:
sqlite3[tool]:
szip:
tiff: libjpeg-turbo, liblzma, zlib
curl[non-http, ssl, schannel, sspi, winssl]: zlib
hdf5[szip, zlib]: szip, zlib
libiconv:
openssl:
proj4[database, tiff]: sqlite3, sqlite3, tiff
cfitsio: zlib
expat:
geos:
giflib:
libgeotiff: libjpeg-turbo, proj4, tiff, zlib
libpng: zlib
libpq[openssl, zlib]: openssl, zlib
libwebp[nearlossless, unicode, simd]:
libxml2: libiconv, liblzma, zlib
netcdf-c: curl, hdf5
openjpeg:
zstd:
gdal: cfitsio, curl, expat, geos, giflib, hdf5, libgeotiff, liblzma, libpng, libpq, libwebp, libxml2, netcdf-c, openjpeg, proj4, sqlite3, zlib, zstd

Fixes microsoft/vcpkg#17678

@JackBoosY JackBoosY marked this pull request as draft May 7, 2021 07:07
@JackBoosY
Copy link
Contributor Author

Do you guys have any suggestions?

@JackBoosY JackBoosY marked this pull request as ready for review May 10, 2021 09:16
src/vcpkg/commands.dependinfo.cpp Outdated Show resolved Hide resolved
src/vcpkg/commands.dependinfo.cpp Outdated Show resolved Hide resolved
src/vcpkg/commands.dependinfo.cpp Outdated Show resolved Hide resolved
src/vcpkg/commands.dependinfo.cpp Outdated Show resolved Hide resolved
src/vcpkg/commands.dependinfo.cpp Outdated Show resolved Hide resolved
JackBoosY and others added 8 commits May 18, 2021 10:37
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
@JackBoosY JackBoosY marked this pull request as draft June 15, 2021 02:25
@ras0219-msft ras0219-msft marked this pull request as ready for review November 14, 2021 23:52
@ras0219-msft ras0219-msft merged commit 1aa8a5d into microsoft:main Nov 14, 2021
@JackBoosY JackBoosY deleted the dev/jack/add_dependshow_tree branch November 15, 2021 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a vcpkg argument to list the dependency tree of a package
3 participants