2023-07-07 02:35:29 +08:00
if ( VCPKG_TARGET_IS_WINDOWS )
vcpkg_check_linkage ( ONLY_STATIC_LIBRARY )
endif ( )
2021-12-14 04:49:27 +08:00
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O c h a r l e s - l u n a r g / v k - b o o t s t r a p
2023-05-10 07:44:20 +08:00
R E F " v $ { V E R S I O N } "
S H A 5 1 2 3 5 7 c e 6 9 b 0 8 0 c 6 a b c e f 7 7 6 4 6 5 2 f 5 a b 5 e 5 f c 7 4 4 a 9 d 0 3 0 8 b f 4 5 7 7 8 7 f 2 7 c 3 c 1 4 a 9 1 1 4 8 0 a 7 f 9 c a f 3 0 4 e e 9 2 c 3 3 5 1 9 b f b c 9 7 7 f b 3 2 0 f a 3 e f 4 a 3 2 9 7 1 6 d 0 b d 1 b 0 3 1 3 5 d d 9 8 e
2021-12-14 04:49:27 +08:00
H E A D _ R E F m a s t e r
)
vcpkg_cmake_configure (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2023-01-12 15:11:05 +08:00
O P T I O N S
# 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.
- D C M A K E _ P R O J E C T _ N A M E =
2021-12-14 04:49:27 +08:00
)
vcpkg_cmake_install ( )
vcpkg_copy_pdbs ( )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
2023-07-07 02:35:29 +08:00
file ( COPY "${CMAKE_CURRENT_LIST_DIR}/vk-bootstrap-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" )
2021-12-14 04:49:27 +08:00
2023-01-12 15:11:05 +08:00
vcpkg_install_copyright ( FILE_LIST "${SOURCE_PATH}/LICENSE.txt" )