Skip to content

Commit

Permalink
Add marchingcubecpp
Browse files Browse the repository at this point in the history
Signed-off-by: Tal Regev <[email protected]>
  • Loading branch information
talregev committed Jan 12, 2025
1 parent 81ab9a8 commit 7f2cd75
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ports/marchingcubecpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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")
7 changes: 7 additions & 0 deletions ports/marchingcubecpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "marchingcubecpp",
"version-date": "2023-09-11",
"description": "Marching cube implementation.",
"homepage": "https://github.com/aparis69/MarchingCubeCpp",
"license": "MIT"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions versions/m-/marchingcubecpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "2d9e9847df59527d3538e9c93d5fe1b76737728c",
"version-date": "2023-09-11",
"port-version": 0
}
]
}

0 comments on commit 7f2cd75

Please sign in to comment.