Skip to content

[docs] Document deprecated functions from #20142 in the maintainer guide.#20217

Merged
BillyONeal merged 2 commits intomicrosoft:masterfrom
BillyONeal:document-deprecated-functions
Sep 20, 2021
Merged

[docs] Document deprecated functions from #20142 in the maintainer guide.#20217
BillyONeal merged 2 commits intomicrosoft:masterfrom
BillyONeal:document-deprecated-functions

Conversation

@BillyONeal
Copy link
Member

See discussion at #20142 (comment)

@BillyONeal BillyONeal added category:documentation To resolve the issue, documentation will need to be updated info:internal labels Sep 17, 2021
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one portfile where deprecated functions are used.

Details

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/openimageio/portfile.cmake

@PhoebeHui PhoebeHui self-assigned this Sep 17, 2021
@PhoebeHui PhoebeHui changed the title Document deprecated functions from #20142 in the maintainer guide. [docs] Document deprecated functions from #20142 in the maintainer guide. Sep 17, 2021
@PhoebeHui PhoebeHui added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Sep 18, 2021
@Osyotr
Copy link
Contributor

Osyotr commented Sep 20, 2021

Would you kindly also update vcpkg-tool? It suggests to use deprecated vcpkg_fixup_cmake_targets
https://github.com/microsoft/vcpkg-tool/blob/733e90d1bc3f4f8188d57d73e2d20765c232cc26/src/vcpkg/postbuildlint.cpp#L265

@BillyONeal
Copy link
Member Author

Would you kindly also update vcpkg-tool? It suggests to use deprecated vcpkg_fixup_cmake_targets
https://github.com/microsoft/vcpkg-tool/blob/733e90d1bc3f4f8188d57d73e2d20765c232cc26/src/vcpkg/postbuildlint.cpp#L265

Done: microsoft/vcpkg-tool#198

@BillyONeal BillyONeal merged commit 53e3b41 into microsoft:master Sep 20, 2021
@BillyONeal BillyONeal deleted the document-deprecated-functions branch September 20, 2021 16:07
BillyONeal added a commit to microsoft/vcpkg-tool that referenced this pull request Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:documentation To resolve the issue, documentation will need to be updated info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants