Commit Graph

389 Commits

Author SHA1 Message Date
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 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
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 53f1636705.

* Revert "Rename to vcpkg_concat_copyright"

This reverts commit 6ce9152a61.

* 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
Robert Schumacher
06acb79f7c
[docs] Add search.md (#24755)
* [docs] Add search.md

* [docs] Remove mention of registries from search.md
2022-06-14 11:00:25 -07:00
Robert Schumacher
8e1f46de11
[docs] Add integrate.md (#24756)
* [docs] Add integrate.md

* PR comments

* [docs] Fix links
2022-06-10 13:11:26 -07:00
Robert Schumacher
7d2449c346
[docs] Delete embedded documentation in favor of docs/ (#25096)
* [docs] Delete embedded documentation in favor of docs/

Drive-by for the helper ports:
1. "documentation": "https://vcpkg.io/en/docs/README.html"
2. "license": "MIT"
3. Use `include_guard(GLOBAL)` in all script files
4. Make sure any persistent variables are saved to the cache

* [docs] Restore empty regenerate.ps1 to satisfy Azure Pipelines

* [docs] PR comments
2022-06-07 16:26:51 -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
Thomas1664
0406852bee
[docs] Fix copy paste error (#24840) 2022-05-23 10:01:32 -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
Kai Pastor
f20c7bf05b
[vcpkg-configure-make] Fix include path prepending (#24823)
* Fix include path prepending

* Update DISABLE_VERBOSE_FLAGS documentation

Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>

Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
2022-05-20 14:41:10 -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
Thomas1664
d49b6d5887
[docs] Fix typo (#24673) 2022-05-12 16:52:08 -07:00
Alexander Neumann
bae8f8c7d8
[world rebuild] Move vcpkg-cmake-get-vars to its own port (#24636)
* move vcpkg-cmake-get-vars to its own helper port

* manifest format

* version stuff

* doc and version stuff

* add missing include

* version bump

* remove coypright copying.

* version stuff

Co-authored-by: Alexander Neumann <you@example.com>
2022-05-11 16:51:06 -07:00
Billy O'Neal
74ff2a0441
[docs] Add catalog release process. (#24647)
* [docs] Add catalog release process.

Also fixes https://github.com/microsoft/vcpkg/issues/23387
Also sorts added and changed ports by port name in the generated release notes
Also makes the formatting more consistent with GitHub's default generated release notes ("by foo, in #bar")

* Fix docs links.

* Add a space for additional PRs for new ports.
2022-05-11 12:18:31 -07:00
Jack·Boos·Yu
0d7603c4ef
[vcpkg_setup_pkgconfig_path] Add new functions to set or restore pkgconfig related environment variables (#23429)
* [vcpkg_configure_meson] Fix append host path

* New functions vcpkg_setup_pkgconfig_path and vcpkg_restore_pkgconfig_path

* Fix bug, add cos

* Apply suggestions

* Apply suggestions

* Apply suggestion

* doc

* Update docs/maintainers/vcpkg_setup_pkgconfig_path.cmake.md

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>

* Update scripts/cmake/vcpkg_setup_pkgconfig_path.cmake

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>

* Update scripts/cmake/vcpkg_configure_make.cmake

* Apply suggestions

* Apply suggestion

* Apply suggestions

Co-authored-by: Victor Romero <viromer@microsoft.com>
Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
2022-05-09 17:23:32 -07:00
Billy O'Neal
e3839ed58e
Add vcpkg_tool_release_process documentation. (#24226)
* Add vcpkg_tool_release_process documentation.

* Add step to check over the bits before submitting to signing, and remove branch name assumptions.
2022-04-28 16:12:25 -07:00