diff options
Diffstat (limited to 'vcpkg/ports/flux')
| -rw-r--r-- | vcpkg/ports/flux/portfile.cmake | 23 | ||||
| -rw-r--r-- | vcpkg/ports/flux/vcpkg.json | 16 |
2 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/flux/portfile.cmake b/vcpkg/ports/flux/portfile.cmake new file mode 100644 index 0000000..9f6d94b --- /dev/null +++ b/vcpkg/ports/flux/portfile.cmake @@ -0,0 +1,23 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO tcbrindle/flux + REF "v${VERSION}" + SHA512 ac6f373d2b6b7f568528ba489aa0b1785ce9e25ba1c75ec23a3a7b517d54534491be0f808a09778e651791e61cc4bf407b8c18ff6aa53af4ae7cd9b518a8df43 + HEAD_REF master +) + +set(VCPKG_BUILD_TYPE release) # header-only port + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DFLUX_BUILD_EXAMPLES=OFF + -DFLUX_BUILD_TESTS=OFF +) + + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/flux) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt") diff --git a/vcpkg/ports/flux/vcpkg.json b/vcpkg/ports/flux/vcpkg.json new file mode 100644 index 0000000..2f912a2 --- /dev/null +++ b/vcpkg/ports/flux/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "flux", + "version": "0.4.0", + "description": "Experimental C++20 library that provides a broadly equivalent feature set to C++20 Ranges, but uses a slightly different model based around cursors rather than iterators. Safer, easier, more efficient, compatible.", + "homepage": "https://github.com/tcbrindle/flux", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |