[scripts-audit] Work list for the scripts tree (stuff we don't need to do immediately) #16188
Labels
category:scripts-audit
Part of the scripts audit effort.
info:internal
This PR or Issue was filed by the vcpkg team.
See PR #16055
Not all scripts have been checked yet; we will update this list at our weekly scripts audit meeting.
Paths Forward
There are four possible paths forward:
vcpkg_*_<buildsystem>
these will all be moved to a singlevcpkg-<buildsystem>
port.Also, there may be scripts that we need to add; this will be marked "new"
Additionally, each script gets an
audit
item; this means "update to be in line with the standards set out in #16055".vcpkg.cmake
andports.cmake
vcpkg.cmake
ports.cmake
include()
, as opposed to just names (that get looked up in the module path)scripts/cmake
execute_process()
: keepexecute_process
'OVERRIDDEN_EXECUTE_PROCESS
should getZ_
execute_process
' override should be a function rather than a macrovcpkg_acquire_msys()
: portvcpkg_add_to_path()
: keepvcpkg_apply_patches()
: deprecatez_vcpkg_apply_patches
as an internal functionvcpkg_build_cmake()
: portvcpkg_build_gn()
: deprecatevcpkg_build_ninja
vcpkg_build_make()
: portENABLE_INSTALL
(depending on whether it's used) (see alsoINSTALL_TARGET
)MAKEFILE
is used usefully vsSUBPATH
; if not, deprecate/remove depending on whether it's usedvcpkg_build_msbuild()
: deprecatevcpkg_install_msbuild()
vcpkg_build_ninja()
: portvcpkg_build_nmake()
: portvcpkg_build_qmake()
: portvcpkg_buildpath_length_warning()
: keepvcpkg_check_features()
: keepOUT_FEATURE_OPTIONS
is made optional, and will default toFEATURE_OPTIONS
<feature-var>
s are now checked for uniquenessFEATURES
keyword being optional is now deprecatedvcpkg_check_linkage()
: keepvcpkg_clean_executables_in_bin()
: deprecatez_vcpkg_clean_executables_in_bin
as an internal functionvcpkg_clean_msbuild()
: portvcpkg_common_definitions
: keepvcpkg_common_functions
: deprecatevcpkg_configure_cmake()
: portvcpkg_configure_gn()
: portvcpkg_configure_make()
: portvcpkg_configure_meson()
: portvcpkg_configure_qmake()
: portvcpkg_copy_pdbs()
: keep for nowvcpkg_copy_sources()
: newvcpkg_copy_tool_dependencies()
: keepz_vcpkg_copy_tool_dependencies()
vcpkg_prettify_command()
: removez_vcpkg_prettify_command_line
as an internal functionOther Notes
vcpkg_minimum_required
: In the future, this will be used likecmake_minimum_required
, setting up whether a deprecation warning is treated as an error or a warning.z_vcpkg_deprecated(REMOVED_IN_VERSION <date> MESSAGE "...")
which will warn when one uses a deprecated feature if their minimum required is below the<date>
, or else issue a fatal error, in order to support older ports while also allowing us to make updatesThe text was updated successfully, but these errors were encountered: