diff --git a/ports/marchingcubecpp/portfile.cmake b/ports/marchingcubecpp/portfile.cmake new file mode 100644 index 00000000000000..bb937964360e1a --- /dev/null +++ b/ports/marchingcubecpp/portfile.cmake @@ -0,0 +1,20 @@ +# header-only library +set(VCPKG_BUILD_TYPE release) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO aparis69/MarchingCubeCpp + REF f03a1b3ec29b1d7d865691ca8aea4f1eb2c2873d + SHA512 879204bbfe6a9ad6a6b050b2ba5126884e0b7d01c883d7319dc1deed0c3f6d1658493ba4b39bfcce8c9643739e812d2d69cdbd9be92cd728e0fcccfeb64f898e +) + +# Install source files +file(INSTALL + "${SOURCE_PATH}/MC.h" + "${SOURCE_PATH}/noise.h" + DESTINATION + "${CURRENT_PACKAGES_DIR}/include/${PORT}" +) + +# Install license +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/README.md") diff --git a/ports/marchingcubecpp/vcpkg.json b/ports/marchingcubecpp/vcpkg.json new file mode 100644 index 00000000000000..2223d070297f30 --- /dev/null +++ b/ports/marchingcubecpp/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "marchingcubecpp", + "version-date": "2023-09-11", + "description": "Marching cube implementation.", + "homepage": "https://github.com/aparis69/MarchingCubeCpp", + "license": "MIT" +} diff --git a/versions/baseline.json b/versions/baseline.json index b975d993ce5078..d2ecb0dadf1f40 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5812,6 +5812,10 @@ "baseline": "24.08.2", "port-version": 1 }, + "marchingcubecpp": { + "baseline": "2023-09-11", + "port-version": 0 + }, "mariadb-connector-cpp": { "baseline": "1.1.5", "port-version": 0 diff --git a/versions/m-/marchingcubecpp.json b/versions/m-/marchingcubecpp.json new file mode 100644 index 00000000000000..06f6e0e1ce15dc --- /dev/null +++ b/versions/m-/marchingcubecpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "2d9e9847df59527d3538e9c93d5fe1b76737728c", + "version-date": "2023-09-11", + "port-version": 0 + } + ] +}