Граф коммитов

117 Коммитов

Автор SHA1 Сообщение Дата
Victor Romero 54cc53c434
[docs] Add stubs to redirect to Microsoft Learn (#29820) 2023-02-23 17:11:56 -08:00
Robert Schumacher 547c030e68
[vcpkg docs] Remove docs migrated to https://learn.microsoft.com/vcpkg and Microsoft/vcpkg-docs (#28350)
* [docs] Remove embedded documentation in favor of learn.microsoft.com

* [docs] Remove validation workflow
2023-02-16 11:36:51 -08:00
Victor Romero a22a711815
[RFC][docs] Add pattern matching docs (#27686)
* [docs] add pattern matching docs

* Add more examples

* Improve default-registry documentation
2022-12-19 12:19:38 -08:00
Billy O'Neal b12e71232e
[vcpkg docs] Delete old schema file (#28187)
* Delete old schema file that has been replaced with https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json

This caused confusion for @Nekko in Discord here: https://discordapp.com/channels/400588936151433218/687365466422902841/1048988171393835099

* Also fix the one docs use pointed out by @autoantwort.
2022-12-12 14:38:01 -08:00
Lily Wang ae02b3ec16
[vcpkg docs] Modify incorrect description of <source> (#28116) 2022-12-02 09:18:41 -08:00
Kai Pastor 73b415a0db
[vcpkg tool] Add optional tracing of `find_package` (#27982)
* Add tracing of find_package

* Doc

* Unset new vars
2022-12-01 13:39:31 -08:00
val f7a537d6be
[docs] Document overlay ports/triplets in `vcpkg-configuration.json` (#27172)
* Update registries.md

* fixed typo

* fixed typo

* fixed wording and added link to spec

* explaining port resolution

* changed wording

* Victor's suggestion

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>

* Added documentation on embedding configuration in manifest

* fixed path example

* typo

* Added info on paths accepted by overlays configured on the manifest

* changed example of absolute path to relative

* Changed wording according to comments

* fixed link to triplets doc

* Update docs/users/manifests.md

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>

* Format of registries documentation

Co-authored-by: Valeria Conde <t-vconde@microsoft.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2022-11-11 12:54:00 -08:00
Victor Romero 929fc61671
Document environment variable (#27000) 2022-10-13 17:12:51 -07:00
Billy O'Neal 0948fa8a1e
Add documentation of https://github.com/microsoft/vcpkg-tool/pull/725 (#27188)
* Add documentation of https://github.com/microsoft/vcpkg-tool/pull/725

* Fix @Neumann-A's feedback
2022-10-13 17:12:26 -07:00
Alexander Neumann d8e60ef474
[vcpkg scripts] Crosscompiling fixes (#26617)
* test osx stuff

* deactivate most of ci

* get trace output

* add required flags to the linker flags

* also look for --sysroot

* Link_args are always shared

* fix ar flags

* setup FOR_BUILD vars.

* try tricking the build.... but man configure scripts are stupid sometimes...

* try 2

* major meson rewrite

* fix duplicates

* revert --trace-expand

* update port version

* revert pipeline changes

* v db

* bump version

* v db

* set flags for rc compilers

* a few more ios fixes.

* v db

* fix osx/ios logic

* documentation and don't fatal_error in build/host machine entry calculation.

* add android/compiler target stuff from #26570

* remove extra endif

* v db

* add target param to linker flags.

* target in cpp flags

* Make vcpkg-cmake-get-vars more ios compatible

* Update scripts/get_cmake_vars/CMakeLists.txt

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>

* More ios fixes

* fix target adding

* Fix broken loop

* v db

* v db

* bump date

* v db

* v db

* v db

* remove port-version 1

* v db

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2022-10-13 09:40:52 -07:00
Robert Schumacher 57d3194e70
[docs] Link fixes (#26956) 2022-09-23 13:37:27 -07:00
Robert Schumacher c5ca6fd46b
[docs] Fix issues encountered during publishing 2022-09-01 (#26794)
* [docs] Document 'host' field in manifests

* [docs] Assorted fixes found while regenerating website

* Update docs/users/manifests.md

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2022-09-23 12:30:43 -07:00
Kai Pastor 02fcf92f48
Deprecated VCPKG_PREFER_SYSTEM_LIBS (#26449) 2022-08-23 12:07:33 -07:00
Robert Schumacher 179dbd0627
[docs] Fix TOCs, inline command (#26412) 2022-08-22 09:20:25 -07:00
Robert Schumacher 23cc58477e
[docs] Rewrite docs for vcpkg_cmake_build and vcpkg_cmake_install (#25477)
* [docs] Rewrite docs for vcpkg_cmake_build and vcpkg_cmake_install

* [docs] Fix broken links

* [docs] Add notes about parent helper port
2022-08-16 15:51:42 -07:00
Robert Schumacher c175d8efa7
[docs] Update triplets.md for VS2022 (#26365) 2022-08-16 09:14:22 -07:00
Ivan Stepanov 4147b343c2
[docs] binarycaching.md: NuGet requires to set API Key for source (#22191) 2022-08-05 16:26:59 -07:00
Osyotr 87e46921cc
[docs] Add doc entry for `VCPKG_FIXUP_ELF_RPATH` (#26040)
* Add doc entry for `VCPKG_FIXUP_ELF_RPATH`

* Update spelling

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
2022-08-02 12:34:20 -07:00
Jamlys Lee de176433e9
[meson] Add support for loongarch64 cpu. (#25615)
* Add support for loongarch64 cpu.

* update ci.baseline.txt

* Revert "update ci.baseline.txt"

This reverts commit 0b3f4851bc.

* Allow user to add additional options for meson within custom triplet.

Co-authored-by: Jamlys Lee <jamlys_lee@163.com>
2022-07-17 19:41:15 -07:00
Robert Schumacher 3f71620c2b
[docs] Rewrite doc for vcpkg_cmake_configure. Move up into docs/maintainers/. (#25255)
* [docs] Rewrite doc for vcpkg_cmake_configure. Move up into docs/maintainers/.

* [docs] CR

* PR comment
2022-06-29 07:09:02 -07:00
Robert Schumacher 59aa3a9eec
[docs] Add documentation for x-update-baseline (#25256) 2022-06-23 14:59:09 -07:00
Augustin Popa 019027ada5 Fixes incorrect file paths in MSBuild integration docs, specifically issue #25323 2022-06-21 15:36:20 -07:00
Christophe Calmejane aa01a5e13f
Added documentation for VCPKG_FORCE_DOWNLOADED_BINARIES env var (#24674)
See https://github.com/microsoft/vcpkg-tool/pull/138

Co-authored-by: Christophe Calmejane <dakikifr@free.fr>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-06-15 11:27:18 -07:00
Robert Schumacher 36b6831d19
[docs] Initial addition of CLI Reference docs (#24754)
* [docs] Initial addition of CLI Reference docs

* PR comments round 1

* [docs] Fix manifests.md TOC

* [docs] Sort common options

* [docs] Apply PR comments
2022-05-27 09:34:11 -07:00
Robert Schumacher 292067a61d
[docs] Fix broken links and generate documentation for `vcpkg-gn` (#24764)
* [docs] Fix broken links. Add docs validation pipeline.

* [docs][regenerate.ps1] Do not require a README.md in helper ports

* [docs] Update validateDocs.yml to point to current main
2022-05-20 14:42:35 -07:00
Robert Schumacher 1e91cd3769
[docs] Remove out-of-date docs, improve header standardization. (#24456)
* Remove out-of-date docs, improve header standardization.

* PR scoping & comments
2022-05-18 14:25:13 -07:00
Robert Schumacher 8639e65b88
[docs] Split integration.md per Build System. (#24737)
* Split integration.md per Build System.

Centralize buildsystem configuration.

* PR comment
2022-05-17 17:12:53 -07:00
Dean 97298f2ede
[vcpkg] Update android usage documentation (#23690)
* [doc] triplet creation is not needed any more for android.

The metioned triplets are already commited on master branch. There is no need to create triplet files for android. This doc is kind of outdated. I tried without the triplet creation stelp and jsoncpp installation is successful.

* [doc] keep android triplet to ABI mapping table

Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-04-11 09:05:48 -07:00
Petr Tichý d699e78f84
[authentication.md] Add Jenkins section (#23226) 2022-02-24 15:09:06 -08:00
nicole mazzuca 94c43b8f60
[docs] document VCPKG_INSTALLED_DIR variable (#22695) 2022-02-03 19:20:23 -08:00
Robert Schumacher c06dfc0ac2
[docs] Add Authoring-script-ports.md (#22396)
* [docs] Add Authoring-script-ports.md

* Address CR comments

* Update docs/maintainers/authoring-script-ports.md

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2022-02-03 13:08:10 -08:00
Robert Schumacher 1a1f31ce26
[docs] Update docs with full release of manifests, registries, and versioning (#21929)
* [docs] Update docs with full release of manifests, registries, and versioning

* [docs] CR changes
2022-01-06 15:55:41 -08:00
ulfllorenz 1b664707c1
Minor documentation addition (#21771)
* Minor documentation addition

* Update triplets.md

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-11-30 18:21:10 -08:00
autoantwort d3fc4df133
[docs] Document `VCPKG_BUILD_TYPE` (#21469)
* [docs] Document `VCPKG_BUILD_TYPE`

* Update docs/users/triplets.md

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-11-18 20:57:02 -08:00
Robert Schumacher 92e34ac254
[docs] Add authentication.md (#20990)
* [docs] Add docs/users/authentication.md

* edits

* Add link to README.md

* Address CR comments

* Fixup

Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-11-15 09:33:53 -08:00
Billy O'Neal 33ced4f1c3
Add data lifecycle management to binary caching docs (#20733)
... as suggested by Robert @ras0219 / @ras0219-msft
2021-10-15 19:20:07 -07:00
autoantwort b8f91d13f3
docs: You can use the msbuild interation with multiple triplets since #19767 (#20717) 2021-10-14 18:12:23 -07:00
Billy O'Neal 97e7ac8d74
[vcpkg] Repair msbuild damage and workaround the way we integrate on VS2015. (#19767)
* Repair msbuild damage and workaround the way we integrate on VS2015.

This is a fix for a pile of issues discovered by https://github.com/microsoft/vcpkg/pull/18906

* VS 2015 has a bug that the <VcpkgInstalledDir Condition="!$(VcpkgInstalledDir.EndsWith('\'))">$(VcpkgInstalledDir)\</VcpkgInstalledDir> dance we do to get a trailing slash is not applied correctly when VcpkgInstalledDir was edited in the same property group attempting to add the trailing slash.
* We need a trailing slash on VcpkgInstalledDir at all times, but https://github.com/microsoft/vcpkg/pull/16173 damaged this by removing it from TreatAsLocalProperty. Add the right TreatAsLocalPropertys back. Add all such slash defenses to the top of the file just beneath, eliminating need to call Path::Combine and friends by following msbuild "directory properties have a trailing slash" convention.
* Move VcpkgOSTarget and VcpkgPlatformTarget into the .targets, as they aren't intended to be overridable by users and don't appear in our selection dialog box(es).
* Don't bother avoiding setting vcpkg properties when VcpkgEnabled is off; after all, VcpkgEnabled is itself a vcpkg property :). I left attempts to skip creating items since creating items can hit the disk.
* Add _Z to several internal msbuild variables.
* Move VcpkgApplocalDeps to the .props since it's a user setting.
* Don't unconditionally use $(TLogLocation) because it is not set on 2015, and also it's per-project.
* Fixed typo in docs "VcpkgInstalledDirectory", and document the limitation that it doesn't work in 2015.
* In manifest mode, put the installed tree in a subdirectory including the triplet to make changing configurations faster.

Known limitations:

* If you change vcpkg.json without changing any .cpp files, we don't rebuild the dependencies even though we should. I don't know how to fix this but it doesn't appear to be a regression.

* Fix .tlog handling.

* Further defend against modified properties on VS2015.

* Document more VS2015 limitations.

* Remove TreatAsLocalProperty comment.
2021-09-02 12:33:21 -07:00
autoantwort 2777eada3f
[docs] improve integrate documentation (#19700)
* [docs] improve integrate documentation

* Small suggestions

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-08-30 17:11:16 -07:00
Kevin Lalumiere c13c218522
[vcpkg] Add triplet option VCPKG_NO_COMPILER_TRACKING (#17526) 2021-08-25 20:36:28 -07:00
autoantwort 6b24f0fa76
[docs] Improve assetcaching.md (#19625)
* Improve asset caching readme

* Update assetcaching.md

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-08-17 17:33:44 -07:00
Billy O'Neal 5fd29d9350
Fix title capitalization from https://github.com/vcpkg/vcpkg.github.io/pull/54 (#19345) 2021-08-03 13:56:45 -07:00
Eric Kilmer f7c83acf48
[docs] Describe nugettimeout option in binarycaching (#19084) 2021-07-23 13:35:23 -07:00
Victor Romero 3c82e1931e
[docs] More Getting Started fixes (#18970)
* Use valid commmit ID for baseline

* More doc fixes
2021-07-20 16:24:38 -07:00
Julian Xhokaxhiu ae5b1cf41b
[binarycaching.md] Improve Azure DevOps example (#18807)
Add a missing, but required task for Azure DevOps Pipelines, to automatically authenticate against the Artifacts registry.
This should help any vcpkg newcomer to integrate easily.
2021-07-06 13:37:15 -07:00
autoantwort 876e67c26e
[vcpkg.cmake] PREPEND CMAKE_FIND_ROOT_PATH (#17336)
* [vcpkg.cmake] PREPEND CMAKE_FIND_ROOT_PATH

* [vcpkg.cmake] make PREPEND optional (default off, option VCPKG_PREFER_VCPKG_LIBS)

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update scripts/buildsystems/vcpkg.cmake

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-06-23 15:30:46 -07:00
pastdue 38d2893b30
Add VCPKG_MAKE_CONFIGURE_OPTIONS (that can be set in the triplet) (#18132)
* Add VCPKG_MAKE_CONFIGURE_OPTIONS that can be set in the triplet

To append options to the configure command

* Add documentation

* Expand without quotes

Co-Authored-By: ras0219 <533828+ras0219@users.noreply.github.com>

* Add VCPKG_CMAKE_CONFIGURE_OPTIONS that can be set in the triplet

Co-Authored-By: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Bump vcpkg-cmake port-version

* Run x-add-version vcpkg-cmake

* Apply suggestions from code review

* [vcpkg-cmake] add version

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-06-08 09:50:09 -07:00
ras0219 8c497bb647
[vcpkg] Add experimental $X_VCPKG_ASSET_SOURCES for source caching (#13639)
* [vcpkg] Add experimental $VCPKG_X_READWRITE_MIRROR_URL_TEMPLATE for source caching

* [vcpkg] Use prerelease version for testing

* [docs] Add assetcaching.md

* Revert bootstrap changes

* [vcpkg_download_distfile] Deprecate SILENT_EXIT

* cmake_parse_arguments() always defines option arguments

* Adjust CI baseline

* [vcpkg_download_distfile] Address CR comments, restore ARIA2

* [CI] Add source caching to Linux and OSX CI passes

* [ci.baseline.txt] Skip chartdir on more platforms
2021-06-04 16:48:26 -07:00
Mats Taraldsvik 9411ed741e
[docs] Updated list of off-by-default features (#18258) 2021-06-03 12:26:40 -07:00
Augustin Popa ce6253b6f4
[Doc] Update binarycaching.md with clearer description (#18033)
* Update binarycaching.md with clearer description

We received user feedback about the binary caching feature not being clear. I rewrote some of the opening section to try to describe it better. Feedback is appreciated.

* Apply suggestions from code review

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2021-05-26 10:28:37 -07:00