diff --git a/ports/tinycolormap/portfile.cmake b/ports/tinycolormap/portfile.cmake new file mode 100644 index 0000000000..6f33db6510 --- /dev/null +++ b/ports/tinycolormap/portfile.cmake @@ -0,0 +1,20 @@ +set(VCPKG_BUILD_TYPE release) # Header only without TINYCOLORMAP_WITH_EIGEN, TINYCOLORMAP_WITH_QT5, + # TINYCOLORMAP_WITH_GLM, or TINYCOLORMAP_BUILD_TOOLS +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO yuki-koyama/tinycolormap + REF b79255bf4c0d3557df2c382d0673c0392e6d6951 + SHA512 15c454298ff24b3b5a944ffc28c7695905a883eac4c699e65d54f0dc592548a1c92532ab374cb26db01627343ac6dff0b3030da623a76f01f2e5be025308a940 +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug" +) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/tinycolormap/vcpkg.json b/ports/tinycolormap/vcpkg.json new file mode 100644 index 0000000000..f031f7ec0a --- /dev/null +++ b/ports/tinycolormap/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "tinycolormap", + "version": "0.8.0", + "description": "A header-only, single-file library for colormaps written in C++11.", + "homepage": "https://github.com/yuki-koyama/tinycolormap", + "license": "MIT AND Apache-2.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index e99f61f590..666f322a71 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9796,6 +9796,10 @@ "baseline": "0.6.1", "port-version": 0 }, + "tinycolormap": { + "baseline": "0.8.0", + "port-version": 0 + }, "tinycthread": { "baseline": "2019-08-06", "port-version": 3 diff --git a/versions/t-/tinycolormap.json b/versions/t-/tinycolormap.json new file mode 100644 index 0000000000..ac8933a22a --- /dev/null +++ b/versions/t-/tinycolormap.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "9642b9c0b863a3b821c9bea6ccc0eb4d06f226f3", + "version": "0.8.0", + "port-version": 0 + } + ] +}