diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/hikogui | |
Diffstat (limited to 'vcpkg/ports/hikogui')
| -rw-r--r-- | vcpkg/ports/hikogui/portfile.cmake | 24 | ||||
| -rw-r--r-- | vcpkg/ports/hikogui/vcpkg.json | 29 |
2 files changed, 53 insertions, 0 deletions
diff --git a/vcpkg/ports/hikogui/portfile.cmake b/vcpkg/ports/hikogui/portfile.cmake new file mode 100644 index 0000000..8a9da44 --- /dev/null +++ b/vcpkg/ports/hikogui/portfile.cmake @@ -0,0 +1,24 @@ + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO hikogui/hikogui + REF v0.8.1 + SHA512 1a711aeb83d4d84e89ba4895aea321b1e5120fc20e8124237ee575b14955edcfa991965cb80628e7c485a44ba13245ba76781582339f62939a8180a629de996a + HEAD_REF main +) + +set(ENV{VULKAN_SDK} "${CURRENT_INSTALLED_DIR}") + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH} + OPTIONS + -DBUILD_TESTING=OFF + -DBUILD_EXAMPLES=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(NO_PREFIX_CORRECTION) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") diff --git a/vcpkg/ports/hikogui/vcpkg.json b/vcpkg/ports/hikogui/vcpkg.json new file mode 100644 index 0000000..cff97ce --- /dev/null +++ b/vcpkg/ports/hikogui/vcpkg.json @@ -0,0 +1,29 @@ +{ + "name": "hikogui", + "version": "0.8.1", + "port-version": 2, + "maintainers": "@takev", + "description": "A portable, low latency, retained-mode GUI framework written in C++.", + "homepage": "https://github.com/hikogui/hikogui", + "license": "BSL-1.0", + "supports": "windows & x64", + "dependencies": [ + { + "name": "glslang", + "features": [ + "tools" + ] + }, + "shaderc", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + }, + "vulkan", + "vulkan-memory-allocator" + ] +} |