early-access version 2853
This commit is contained in:
21
externals/vcpkg/scripts/test_ports/vcpkg-find-acquire-program/portfile.cmake
vendored
Executable file
21
externals/vcpkg/scripts/test_ports/vcpkg-find-acquire-program/portfile.cmake
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
foreach(PROG GO JOM NASM PERL YASM GIT PYTHON3 PYTHON2 RUBY 7Z NUGET FLEX BISON GPERF GASPREPROCESSOR DARK SCONS SWIG DOXYGEN ARIA2 PKGCONFIG)
|
||||
vcpkg_find_acquire_program(${PROG})
|
||||
foreach(SUBPROG IN LISTS ${PROG})
|
||||
if(NOT EXISTS "${SUBPROG}")
|
||||
message(FATAL_ERROR "Program ${SUBPROG} did not exist.")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
foreach(PROG GN NINJA MESON BAZEL)
|
||||
vcpkg_find_acquire_program(${PROG})
|
||||
foreach(SUBPROG IN LISTS ${PROG})
|
||||
if(NOT EXISTS "${SUBPROG}")
|
||||
message(FATAL_ERROR "Program ${SUBPROG} did not exist.")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
7
externals/vcpkg/scripts/test_ports/vcpkg-find-acquire-program/vcpkg.json
vendored
Executable file
7
externals/vcpkg/scripts/test_ports/vcpkg-find-acquire-program/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "vcpkg-find-acquire-program",
|
||||
"version-string": "0",
|
||||
"port-version": 1,
|
||||
"description": "Test port to exercise vcpkg_find_acquire_program",
|
||||
"supports": "windows"
|
||||
}
|
||||
Reference in New Issue
Block a user