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/implot3d/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/implot3d/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/implot3d/portfile.cmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/implot3d/portfile.cmake b/vcpkg/ports/implot3d/portfile.cmake new file mode 100644 index 0000000..cf8419f --- /dev/null +++ b/vcpkg/ports/implot3d/portfile.cmake @@ -0,0 +1,26 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO brenocq/implot3d + REF "v${VERSION}" + SHA512 163aeb62d7d4bd4cac0ea0bad26b4d2dd399ac078cfa6fb414b969006ef3683c3865f5db322fd8d46d7b74e32d7492cd0574fbf30fcd6ac5696f1f1d04e0f7cb + HEAD_REF master +) + +file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS_DEBUG + -DIMPLOT3D_SKIP_HEADERS=ON +) + +vcpkg_cmake_install() + +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |