diff options
Diffstat (limited to 'vcpkg/ports/morphologica')
| -rw-r--r-- | vcpkg/ports/morphologica/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/morphologica/vcpkg.json | 32 |
2 files changed, 52 insertions, 0 deletions
diff --git a/vcpkg/ports/morphologica/portfile.cmake b/vcpkg/ports/morphologica/portfile.cmake new file mode 100644 index 0000000..26a302a --- /dev/null +++ b/vcpkg/ports/morphologica/portfile.cmake @@ -0,0 +1,20 @@ +set(VCPKG_BUILD_TYPE release) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ABRG-Models/morphologica + REF "v${VERSION}" + SHA512 db22a6fcd16acea11d15d9d2253839f90c9684c22d02fcd0d22ba20f944b101300752e05fa600662d9676ad091b5cf52e9d18cfe37918841881fb1282ab6f6b9 +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_EXAMPLES=OFF +) +vcpkg_cmake_install() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") diff --git a/vcpkg/ports/morphologica/vcpkg.json b/vcpkg/ports/morphologica/vcpkg.json new file mode 100644 index 0000000..6e3a5fb --- /dev/null +++ b/vcpkg/ports/morphologica/vcpkg.json @@ -0,0 +1,32 @@ +{ + "name": "morphologica", + "version": "4.0", + "description": "C++ header-only graphing and data visualization with Modern OpenGL", + "homepage": "https://github.com/ABRG-Models/morphologica", + "license": "Apache-2.0", + "dependencies": [ + "armadillo", + { + "name": "egl", + "platform": "linux" + }, + { + "name": "freeglut", + "platform": "linux" + }, + "freetype", + "glfw3", + "hdf5", + "nlohmann-json", + "opengl", + "rapidxml", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |