403 Commits

Author SHA1 Message Date
Billy O'Neal
9b02054e43
Add a new-port checklist to the new PR template. (#27447)
* Add a new-port checklist to the new PR template.

I have observed many people tend to "tune out" our current pull request template, including maintainers, who don't even look at the content and sometimes miss important things people are trying to tell us. To that end, I would like to replace it with something more useful, including things for people submitting the most common kinds of PRs to check.

* Apply fixes suggested by @vicroms and @PhoebeHui
2023-01-19 16:59:05 -08:00
Lily Wang
c1b963c083
[vcpkg docs] Fix broken url of SPDX license (#29033) 2023-01-18 11:04:58 -08:00
Kai Pastor
55c29f1dca
[scripts|world rebuild] Disambiguate saved log files (#26754)
* Disambiguate saved log files

* CI [skip actions]

* CI [skip actions]

* CI [skip actions]

* Use ALIAS keyword instead of auto-numbering

* Update versions
2023-01-09 11:13:59 -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
Robert Schumacher
2526b1ff2e
[docs] Update community resources (#28302) 2022-12-12 16:14:26 -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
Billy O'Neal
6279f6b240
Update the tool release checklist now that we no longer have an internal mirror of tool sources. (#28292) 2022-12-12 11:56:49 -08:00
Kai Pastor
b99eebb47f
[doc] Replace "Build Mode" with "Project Mode" (#28196)
* [doc] Replace "Build Mode" with "Project Mode"

CMake clearly separates commands into "Scripting Commands" and "Project Commands", thus implying an official terminology for both modes.

* Update
2022-12-09 15:26:12 -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
Kang Lin
c4d7348057
[VCPKG DOCS] FIX the checksum of the downloaded file from zip to tag.gz (#28101)
* FIX the checksum of the downloaded file from zip to tag.gz

* Update docs/examples/packaging-github-repos.md

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2022-12-01 11:18:38 -08:00
Alexander Neumann
3776224fd2
[qwt|vcpkg-qmake] Update and switch to Qt6 (#22012) 2022-11-17 00:35:23 -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
Aleksi Sapon
57ae838ee8
Add optional LFS support to vcpkg_from_git (#27461) 2022-11-07 07:55:41 -08:00
val
25dc41081e
[docs] documenting list command 📃 (#27617)
* added list.md :)

* fixed formatting

* somehow these weird tabs make the file render correctly

* format

* dont mind me fighting with the formatting

* Suggested changes

* added missing commands from docs readme
2022-11-04 14:44:31 -07:00
Kai Pastor
3e35cb0a15
[scripts|nmake] Add jom option, add language control (#27255)
* Add CL_LANGUAGE option

* Add PREFER_JOM option

* Append install target to targets, not options

* Update vcpkg_install_nmake

* Re-enable nmake UWP builds for C projects

* Use PREFER_JOM

* Update documentation

* Update versions

* Add license fields

* Update versions
2022-11-02 11:32:43 -07:00
Osyotr
f5beceb4f0
[docs] Correct vcpkg_check_features examples (#27597) 2022-11-01 13:59:01 -07:00
val
3747bf73e8
[docs] document 'version' command 📃🚀 (#27509)
* document version command

* fixed a format mistake in common-options.md why not

* Fixed some wording
2022-10-31 11:20:46 -07:00
MonicaLiu
05fda317ed
[docs] update manifest-files.md (#27521)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2022-10-28 09:31:24 -07:00
Kai Pastor
6118e6b134
[vcpkg docs] Update vcpkg_extract_source_archive.md (#27368)
* Remove documentation of disabled legacy parameter

* Document unique source directories

* Update example

* Remove one more ref to REF
2022-10-24 15:06:11 -07:00
autoantwort
962dc0cb62
[docs] Document VERSION (#27178)
* [docs] Document

* Update docs/maintainers/vcpkg_common_definitions.md

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

Co-authored-by: Billy O'Neal <bion@microsoft.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2022-10-13 20:19:01 -07: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
Billy O'Neal
ebcdc25e43
Add espidf smoke test. (#26798) 2022-09-19 13:38:42 -07:00
pastdue
0e9a28874c
Add VCPKG_TARGET_IS_EMSCRIPTEN, fix opus and libsodium ports for wasm32-emscripten (#26318)
* vcpkg_common_definitions: Add VCPKG_TARGET_IS_EMSCRIPTEN

* [opus] Fix wasm32-emscripten builds

* [libsodium] Fix wasm32-emscripten builds

* Run x-add-version
2022-09-08 14:01:20 -07:00
Billy O'Neal
abb15f0b40
Update vcpkg-tool to 2022-08-24 (#26507)
* Update vcpkg-tool to 2022-08-24

https://github.com/microsoft/vcpkg-tool/releases/tag/2022-08-24

* Add `--no-print-usage` note to docs.
2022-08-29 15:30:16 -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
Alexander Neumann
624f1b4eca
[jemalloc|vcpkg_configure_make] update and some script fixes (#25009)
* WIP commit

* more jemalloc wip

* v db

* add license

* v db

* apply format diff

* fix script

* WIP commit

* fix ARFLAGS for the wrapper

* CR stuff

* v db

* use separate_arguments to add -Wl, to linker flags

* say "-Xlinker" three times and it will come.

* make assembler compile only.

* disable _FOR_BUILD if crosscompiling.
use function instead of macro.

Remove AS settings

* ignore settings for osx until somebody knows how to fix it.

* CR z_vcpkg_make_set_env

* CI retrigger

* make conflicting options an error

* remove DEFINED since the options are always defined
2022-08-19 15:13:23 -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
Augustin Popa
f7da57f9e1
[docs] Fixed typos and updated out-of-date information in the FAQ (#25400)
* Fixed typos and updated out-of-date information in the FAQ

* Further minor updates to faq.md based on feedback

* Fixed minor typo in faq.md
2022-07-25 13:45:37 -07:00
Kai Pastor
49868fd552
[vcpkg-cmake] Update parallel vcpkg_cmake_configure (#21507)
* Revise generator selection

If the host is x86, assume that msbuild is requested for windows.
If msbuild is requested and suitable, use it.
Else if a particular generator is requested, use it.
Else if ninja is available, use it.
Else on non-windows host, use "Unix Makefiles".

* Revise ninja_host detection

* Revise parallel configure detection

* Consolidate ninja path setup

* Update documentation

* Use portable chdir

* [ms-gltf] Use new generator selection

* Update versions
2022-07-25 12:23:04 -07:00
Kai Pastor
687f4aab11
Save meson logs on failure (#25806)
* [vcpkg_configure_meson] Save log files on error

* Document SAVE_LOG_FILES option
2022-07-18 13:21:36 -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 0b3f4851bc05a4101f07a865a9260915e5385763.

* 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
Thomas1664
c69f2b9098
[vcpkg] Add vcpkg_install_copyright() portfile function (#25239)
* [vcpkg tool] Add vcpkg_install_copyright

* Make sure FILE_LIST is provided

* relative to ${SOURCE_PATH}

* Add documentation

* Add to table of contents

* Relative paths was a bad idea.

* Tell users to use the correct way

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Fix docs

* Add parameter COMMENT

* Rename to vcpkg_concat_copyright

* Fix escape

* Revert "Fix escape"

This reverts commit 53f1636705396fe5e606bf67ef72e39edc35140f.

* Revert "Rename to vcpkg_concat_copyright"

This reverts commit 6ce9152a618b37e5a914248f6ca6c8b7b54ef3e3.

* Fix escape

* Add support for single copyright file

* Update docs

* Make comment less confusing

* [ci skip] Billy CR

* [ci skip] Format

* Remove explicit checks for STREQUAL ""

* Add error msg if file doesn't exist

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-07-13 09:41:52 -07:00
Kai Pastor
69cd3402c0
[vcpkg_setup_pkgconfig_path] Fix backup/restore (#25361)
* Unit-test vcpkg_backup/restore_env_vars

* Unit-test z_vcpkg_setup/restore_pkgconfig_path

* Fix z_vcpkg_setup_pkgconfig_path env var backup

* Move parent-scoping into vcpkg_backup_env_variables command

* Test repeated restore

* Unset z_vcpkg_backup_env_variables_arg_vars

* Documentation updates

* Inline pkgconfig env vars backup

* Revert obsolete changes

* Fix typo

* Remove duplicate doc file
2022-06-29 14:47:44 -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
d4709e69b8
[docs] Update docs for vcpkg_extract_source_archive (#25178)
* [docs] Update docs for vcpkg_extract_source_archive

* [docs] Fix links

* [docs] CR review

* [docs] More CR

* CR comments
2022-06-27 15:16:22 -07:00
Robert Schumacher
6bd8d772ee
[docs] Add docs for remove command (#25264)
* [docs] Add docs for remove command

* [docs] CR
2022-06-24 13:11:32 -07:00
Robert Schumacher
59aa3a9eec
[docs] Add documentation for x-update-baseline (#25256) 2022-06-23 14:59:09 -07:00
rinechran
ae041b7c6b
[docs] fix 404 url (#25325)
* [docs] fix 404 url

* [docs] Updating related documents

Co-authored-by: rinechran <rinechran@gmail.com>
2022-06-23 13:52:53 -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
Billy O'Neal
0abb2b2d88
Update vcpkg-tool to 2022-06-15 (#25226)
* Update vcpkg-tool to 2022-06-15. See https://github.com/microsoft/vcpkg-tool/releases/tag/2022-06-15
* Add `=pass` entries from https://github.com/microsoft/vcpkg-tool/pull/579
* Cherry pick XUnit output from https://github.com/microsoft/vcpkg/pull/23477 which hooks up https://github.com/microsoft/vcpkg-tool/pull/585 (Thanks again @dg0yt !)
* Update release process document now that we can do the full tree rebuild to test the tool release before signing.

Thank you:

@autoantwort 
@christophe-calmejane 
@JackBoosY 
@benmcmorran
@hmoffatt 
@klalumiere 
@Thomas1664 
@Neumann-A 
@AenBleidd

for your contributions!

Fixes https://github.com/microsoft/vcpkg/issues/22686 .
Fixes https://github.com/microsoft/vcpkg/issues/21800 .
Fixes https://github.com/microsoft/vcpkg/issues/16216 .
Fixes https://github.com/microsoft/vcpkg/issues/15836 .

Full tree rebuild testing this update is: https://dev.azure.com/vcpkg/public/_build/results?buildId=73664&view=results
2022-06-15 11:20:52 -07:00