mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[vk-bootstrap] New port (#21949)
This commit is contained in:
parent
633f3e0c13
commit
7c2cbf1f53
22
ports/vk-bootstrap/portfile.cmake
Normal file
22
ports/vk-bootstrap/portfile.cmake
Normal file
@ -0,0 +1,22 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO charles-lunarg/vk-bootstrap
|
||||
REF 142986cdb767037118b687387b097ff6b3e7fe7d
|
||||
SHA512 1dc32f09f4548ffaf71d39d5200d60a9bd58971327039f2adb4327fdb885f984bbd91409d28dbfc24e5fdac8c241824e141a2558cddc1b86b84cf2376e7d7567
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
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})
|
||||
|
||||
configure_file("${SOURCE_PATH}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
12
ports/vk-bootstrap/vcpkg.json
Normal file
12
ports/vk-bootstrap/vcpkg.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "vk-bootstrap",
|
||||
"version": "0.5",
|
||||
"description": "Vulkan bootstraping library",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
"vulkan"
|
||||
]
|
||||
}
|
14
ports/vk-bootstrap/vk-bootstrap-config.cmake
Normal file
14
ports/vk-bootstrap/vk-bootstrap-config.cmake
Normal file
@ -0,0 +1,14 @@
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
|
||||
add_library(vk-bootstrap::vk-bootstrap SHARED IMPORTED)
|
||||
set_target_properties(vk-bootstrap::vk-bootstrap PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
|
||||
)
|
||||
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/vk-bootstrap-targets-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
12
ports/vk-bootstrap/vk-bootstrap-targets-debug.cmake
Normal file
12
ports/vk-bootstrap/vk-bootstrap-targets-debug.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file for configuration "Debug".
|
||||
#----------------------------------------------------------------
|
||||
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
set_property(TARGET vk-bootstrap::vk-bootstrap APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
||||
set_target_properties(vk-bootstrap::vk-bootstrap PROPERTIES
|
||||
IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/debug/lib/vk-bootstrap.lib"
|
||||
)
|
||||
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
12
ports/vk-bootstrap/vk-bootstrap-targets-release.cmake
Normal file
12
ports/vk-bootstrap/vk-bootstrap-targets-release.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file for configuration "Debug".
|
||||
#----------------------------------------------------------------
|
||||
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
set_property(TARGET vk-bootstrap::vk-bootstrap APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(vk-bootstrap::vk-bootstrap PROPERTIES
|
||||
IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/vk-bootstrap.lib"
|
||||
)
|
||||
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
@ -7132,6 +7132,10 @@
|
||||
"baseline": "1.0",
|
||||
"port-version": 2
|
||||
},
|
||||
"vk-bootstrap": {
|
||||
"baseline": "0.5",
|
||||
"port-version": 0
|
||||
},
|
||||
"vlfeat": {
|
||||
"baseline": "2020-07-10",
|
||||
"port-version": 1
|
||||
|
9
versions/v-/vk-bootstrap.json
Normal file
9
versions/v-/vk-bootstrap.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c882b9c4c2adf3ea8e63dae9d4ab03b4d34a4dc1",
|
||||
"version": "0.5",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user