early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mraggi/discreture
REF eeeec31c814e6a9a8506a6bfd6a5b35704350605
SHA512 de1c7d74d337605fd9b9d1f3ee6637b4afd179d495de243b21168b0a4376b83c0519b4cced985af694850755ab1e3caca5087b3ca0cd6ccb3b73b10bd6b25b49
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})

4
externals/vcpkg/ports/discreture/usage vendored Executable file
View File

@@ -0,0 +1,4 @@
The package discreture is header only and can be used from CMake via:
find_path(DISCRETURE_INCLUDE_DIRS "discreture.hpp")
target_include_directories(main PRIVATE ${DISCRETURE_INCLUDE_DIRS})

11
externals/vcpkg/ports/discreture/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,11 @@
{
"name": "discreture",
"version-string": "2020-01-29",
"port-version": 1,
"description": "A modern C++ library for efficiently and easily iterating through common combinatorial objects, such as combinations, permutations, partitions and more.",
"homepage": "https://github.com/mraggi/discreture",
"dependencies": [
"boost-container",
"boost-iterator"
]
}