Skip to content

Commit 09a647a

Browse files
authored
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065)
1 parent ead8d6b commit 09a647a

503 files changed

Lines changed: 167 additions & 1207 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/maintainers/portfile-functions.md

Lines changed: 2 additions & 3 deletions

docs/maintainers/vcpkg_test_cmake.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

ports/3fd/portfile.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(vcpkg_common_functions)
2-
31
# Check architecture:
42
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
53
set(BUILD_ARCH "Win32")

ports/ade/portfile.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(vcpkg_common_functions)
2-
31
vcpkg_from_github(
42
OUT_SOURCE_PATH SOURCE_PATH
53
REPO opencv/ade

ports/aixlog/portfile.cmake

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
include(vcpkg_common_functions)
2-
31
vcpkg_from_github(
42
OUT_SOURCE_PATH SOURCE_PATH
53
REPO badaix/aixlog
6-
REF c268f271ef7e7181389205e985740f29e6744a8c # v1.4.0
4+
REF c268f271ef7e7181389205e985740f29e6744a8c # v1.4.0
75
SHA512 7014d22a0bdbaf85191d18652531af6e0c8ff6d8041bf92a80d51994cfbdf0d9d63c4f8836b9bba16d1895ffa03ad0749a42bd11706eb5f3cde1dcbe76746c24
86
)
97

108
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
119
file(COPY ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
1210

1311
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
14-
15-
# Post-build test for cmake libraries
16-
# vcpkg_test_cmake(PACKAGE_NAME aixlog)

ports/alac-decoder/portfile.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(vcpkg_common_functions)
2-
31
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
42

53
vcpkg_download_distfile(ARCHIVE

ports/alac/portfile.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
22
message(FATAL_ERROR "${PORT} does not currently support UWP")
33
endif()
44

5-
include(vcpkg_common_functions)
6-
75
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
86

97
vcpkg_from_github(

ports/aliyun-oss-c-sdk/portfile.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(vcpkg_common_functions)
2-
31
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
42
message(FATAL_ERROR "${PORT} does not currently support UWP")
53
endif()

ports/allegro5/portfile.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(vcpkg_common_functions)
2-
31
vcpkg_from_github(
42
OUT_SOURCE_PATH SOURCE_PATH
53
REPO liballeg/allegro5

ports/ampl-mp/portfile.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(vcpkg_common_functions)
2-
31
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
42

53
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
@@ -44,4 +42,3 @@ configure_file(${SOURCE_PATH}/LICENSE.rst
4442
${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
4543

4644
vcpkg_copy_pdbs()
47-
vcpkg_test_cmake(PACKAGE_NAME unofficial-mp)

0 commit comments

Comments
 (0)