[vk-bootstrap] Disable build tests and example (#28869)

* [vk-bootstrap] Disable build tests and example

* x-add-version

* apply suggestion

* x-add-version
This commit is contained in:
Lily Wang 2023-01-11 23:11:05 -08:00 committed by GitHub
parent b3968a1e21
commit efc181852e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 3 deletions

View File

@ -10,6 +10,9 @@ vcpkg_from_github(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
# This option will disable build tests and example, and next release this option need to change as -DVK_BOOTSTRAP_TEST=OFF. The related upstream commit: https://github.com/charles-lunarg/vk-bootstrap/commit/4ae9513ff9182b9c519504a73435ed575a821300.
-DCMAKE_PROJECT_NAME=
)
vcpkg_cmake_install()
@ -17,6 +20,6 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/${PORT}-config.cmake" "${CMAKE_CURRENT_LIST_DIR}/${PORT}-targets-release.cmake" "${CMAKE_CURRENT_LIST_DIR}/${PORT}-targets-debug.cmake" DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/${PORT}-config.cmake" "${CMAKE_CURRENT_LIST_DIR}/${PORT}-targets-release.cmake" "${CMAKE_CURRENT_LIST_DIR}/${PORT}-targets-debug.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
configure_file("${SOURCE_PATH}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

View File

@ -1,7 +1,10 @@
{
"name": "vk-bootstrap",
"version": "0.5",
"port-version": 1,
"description": "Vulkan bootstraping library",
"homepage": "https://github.com/charles-lunarg/vk-bootstrap",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -7994,7 +7994,7 @@
},
"vk-bootstrap": {
"baseline": "0.5",
"port-version": 0
"port-version": 1
},
"vkfft": {
"baseline": "1.2.17",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5b4e562582567c73a3bad2120a3b23e0b6b32dde",
"version": "0.5",
"port-version": 1
},
{
"git-tree": "c882b9c4c2adf3ea8e63dae9d4ab03b4d34a4dc1",
"version": "0.5",