зеркало из https://github.com/microsoft/vcpkg.git
[kissnet] create a new port (#27529)
* Add port kissnet * Small fixes again according to the GitHub bot * Update ports/kissnet/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Bump port version * Update ports/kissnet/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Overwrite version * Only copy header and add usage * Add version * Update ports/kissnet/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * version * vdb * Add quotes, remove 'add 1 to x' comments. Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Родитель
1ecdbe80b3
Коммит
41b95a3c7d
|
@ -0,0 +1,14 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Ybalrid/kissnet
|
||||
REF 6c2bbbc1a114d83f11cea86d4370766ac12fbbd0 # 2022-10-18
|
||||
SHA512 40182631e1c32628380369b7f8ca4dbae2049b0c0480396efb6a8197cca5006c8b68bc64553182c129ef8366a52a2434fd4f134bf5ffa1c0303af80b2e2a8cee
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Install the header-only library
|
||||
file(INSTALL "${SOURCE_PATH}/kissnet.hpp"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
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}")
|
|
@ -0,0 +1,4 @@
|
|||
The package kissnet is header only and can be used from CMake via:
|
||||
|
||||
find_path(KISSNET_INCLUDE_DIRS "kissnet.hpp")
|
||||
target_include_directories(main PRIVATE ${KISSNET_INCLUDE_DIRS})
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "kissnet",
|
||||
"version-date": "2022-10-18",
|
||||
"description": "Keep It Simple Stupid NETwork - C++17 wrapping of your OS's native socket API",
|
||||
"homepage": "https://github.com/Ybalrid/kissnet",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -3436,6 +3436,10 @@
|
|||
"baseline": "2021-11-14",
|
||||
"port-version": 0
|
||||
},
|
||||
"kissnet": {
|
||||
"baseline": "2022-10-18",
|
||||
"port-version": 0
|
||||
},
|
||||
"klein": {
|
||||
"baseline": "2021-05-09",
|
||||
"port-version": 0
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a8b6b18919cd26da45a720b5fb0b22fcc0282180",
|
||||
"version-date": "2022-10-18",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче