vcpkg/ports/vulkan-tools/portfile.cmake
Alexander Neumann 50bffcc62d
[vulkan] install required sdk parts (#35479)
* Install vulkan.

* add gfxreconstruct

* format manifest and cr changes

* remove moltenvk

* fix ci part 1

* fix a dep

* more fixes

* remove vulkan failures from CI pipeline

* remove annoying stuff to deal with in static builds

* fix trailing ,

* remove vendored cmakelists

* force ci to be green

* format manifest

* Fix more ci issues

* fix hikogui

* make ci happier

* add jsoncpp dep

* only remove the debug folder if targeting windows

* bump port-version

* v db

* vulkan-loader add usage

* Rename vulkantools to lunarg-vulkantools

* Make VMA install headers platform dependent

* Remove vcpkg_check_linkage

* readd vulkan-validationlayers

* v db
2023-12-14 23:33:39 -08:00

25 lines
681 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Tools
REF "vulkan-sdk-${VERSION}"
SHA512 9359e9528bfe507870bd83f9e8860b3d82555c0d8a6a19284f150dd2288b204f2c9dc9b3f62be4efbbb5e2983862459b2131de126a603cc5531ef8df72f4458f
HEAD_REF main
)
set(VCPKG_BUILD_TYPE release) # only builds tools
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTS:BOOL=OFF
)
vcpkg_cmake_install()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
vcpkg_copy_tools(TOOL_NAMES vkcube vkcubepp vulkaninfo AUTO_CLEAN )
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")