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/sdflib | |
Diffstat (limited to 'vcpkg/ports/sdflib')
| -rw-r--r-- | vcpkg/ports/sdflib/portfile.cmake | 27 | ||||
| -rw-r--r-- | vcpkg/ports/sdflib/vcpkg.json | 20 |
2 files changed, 47 insertions, 0 deletions
diff --git a/vcpkg/ports/sdflib/portfile.cmake b/vcpkg/ports/sdflib/portfile.cmake new file mode 100644 index 0000000..42a3951 --- /dev/null +++ b/vcpkg/ports/sdflib/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO UPC-ViRVIG/SdfLib + REF 8db373ef71d65be24badf6ae10750a932bbc223b + SHA512 1231128e66b19923f78e2e3d9b827376c79abb22fe86bb200874a2ce3c283b4d6b8a077a1ab6749cd64b6d81f71a7d2f96d1f6dcc252a3a4aefaeb2145bbacf4 + PATCHES +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DSDFLIB_USE_ASSIMP=OFF + -DSDFLIB_USE_OPENMP=OFF + -DSDFLIB_USE_ENOKI=OFF + -DSDFLIB_USE_SYSTEM_GLM=ON + -DSDFLIB_USE_SYSTEM_SPDLOG=ON + -DSDFLIB_USE_SYSTEM_CEREAL=ON +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/sdflib/vcpkg.json b/vcpkg/ports/sdflib/vcpkg.json new file mode 100644 index 0000000..4a4e7c6 --- /dev/null +++ b/vcpkg/ports/sdflib/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "sdflib", + "version-date": "2025-11-03", + "description": "Library for accelerating the queries of signed distance fields from triangle meshes.", + "homepage": "https://github.com/UPC-ViRVIG/SdfLib", + "license": "MIT", + "dependencies": [ + "cereal", + "glm", + "spdlog", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |