mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[osp-collection] Add new port (#46137)
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
17
ports/osp-collection/portfile.cmake
Normal file
17
ports/osp-collection/portfile.cmake
Normal file
@@ -0,0 +1,17 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO open-source-patterns/collection
|
||||
REF "${VERSION}"
|
||||
SHA512 58222ec24da5414852f66dc3afe12396cfa92671ef06b67a7da51e2fab4673e8c133b4b4d3517218c7aa5172d59aa6347901f2863044230e91e7eec946023749
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "collection" CONFIG_PATH "lib/cmake/collection")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") # usage
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
4
ports/osp-collection/usage
Normal file
4
ports/osp-collection/usage
Normal file
@@ -0,0 +1,4 @@
|
||||
The package collection provides CMake targets:
|
||||
|
||||
find_package(collection CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE collection::collection)
|
||||
18
ports/osp-collection/vcpkg.json
Normal file
18
ports/osp-collection/vcpkg.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "osp-collection",
|
||||
"version": "1.0.0",
|
||||
"maintainers": "Saad Shams",
|
||||
"description": "A C library providing data structures for efficient collection management.",
|
||||
"homepage": "https://github.com/open-source-patterns/collection",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -7192,6 +7192,10 @@
|
||||
"baseline": "4.6.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"osp-collection": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"otl": {
|
||||
"baseline": "4.0.487",
|
||||
"port-version": 0
|
||||
|
||||
9
versions/o-/osp-collection.json
Normal file
9
versions/o-/osp-collection.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3862f96511bb068673552d22615e7303630f1def",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user