vcpkg/scripts/cmake
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
..
execute_process.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_acquire_msys.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_add_to_path.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_apply_patches.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_backup_restore_env_vars.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_build_cmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_build_make.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_build_msbuild.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_build_ninja.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_build_nmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_build_qmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_buildpath_length_warning.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_check_features.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_check_linkage.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_clean_executables_in_bin.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_clean_msbuild.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_common_definitions.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_common_functions.cmake [scripts audit] ports.cmake (#16257) 2021-02-18 14:27:41 -08:00
vcpkg_configure_cmake.cmake [scripts|world rebuild] Always save config.log and CMakeCache.txt (#25189) 2022-07-07 14:58:03 -07:00
vcpkg_configure_gn.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_configure_make.cmake [scripts|world rebuild] Always save config.log and CMakeCache.txt (#25189) 2022-07-07 14:58:03 -07:00
vcpkg_configure_meson.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_configure_qmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_copy_pdbs.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_copy_tool_dependencies.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_copy_tools.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_download_distfile.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_execute_build_process.cmake [vcpkg_execute_*_process] Add support for build profiling (#22676) 2022-06-10 10:56:44 -07:00
vcpkg_execute_in_download_mode.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_execute_required_process_repeat.cmake [vcpkg_execute_*_process] Add support for build profiling (#22676) 2022-06-10 10:56:44 -07:00
vcpkg_execute_required_process.cmake [scripts|world rebuild] Always save config.log and CMakeCache.txt (#25189) 2022-07-07 14:58:03 -07:00
vcpkg_extract_source_archive_ex.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_extract_source_archive.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_fail_port_install.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_find_acquire_program.cmake [python3] Update to 3.10.5. (#25105) 2022-06-17 14:15:56 -07:00
vcpkg_find_fortran.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_fixup_cmake_targets.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_fixup_pkgconfig.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_from_bitbucket.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_from_git.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_from_github.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_from_gitlab.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_from_sourceforge.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_get_program_files_platform_bitness.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_get_windows_sdk.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_host_path_list.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_cmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_copyright.cmake [vcpkg] Add vcpkg_install_copyright() portfile function (#25239) 2022-07-13 09:41:52 -07:00
vcpkg_install_gn.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_make.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_meson.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_msbuild.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_nmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_install_qmake.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_list.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_minimum_required.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_replace_string.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_test_cmake.cmake [scripts audit] ports.cmake (#16257) 2021-02-18 14:27:41 -08:00
z_vcpkg_apply_patches.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
z_vcpkg_escape_regex_control_characters.cmake [scripts-audit] Rollup 2021-05-21 (#18112) 2021-05-26 13:40:48 -07:00
z_vcpkg_forward_output_variable.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
z_vcpkg_function_arguments.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
z_vcpkg_get_cmake_vars.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
z_vcpkg_prettify_command_line.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
z_vcpkg_setup_pkgconfig_path.cmake [vcpkg_setup_pkgconfig_path] Fix backup/restore (#25361) 2022-06-29 14:47:44 -07:00