mirror of https://github.com/microsoft/vcpkg.git
[michaelmiller-sec21] Add new library (#37868)
This commit is contained in:
parent
cb6411d00e
commit
e9a5d41874
|
|
@ -0,0 +1,23 @@
|
|||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO MichaelMiller-/sec21
|
||||
REF "v${VERSION}"
|
||||
SHA512 b9aab9d305e435db066f413a8e49d5622e83dc02d8e0ff0150a0edabf1b1dfd286f7aa5a3593b34c6f616fdd79caa3edbfeb09ff3b66aab80c0138aa2ca5950c
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS -DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "sec21" CONFIG_PATH lib/cmake/sec21)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
michaelmiller-sec21 provides CMake targets:
|
||||
|
||||
find_package(sec21 CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE sec21::sec21)
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "michaelmiller-sec21",
|
||||
"version": "1.0.1",
|
||||
"description": "sec21 is a collection of useful functions and classes.",
|
||||
"homepage": "https://github.com/MichaelMiller-/sec21",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -5732,6 +5732,10 @@
|
|||
"baseline": "2.5.1",
|
||||
"port-version": 3
|
||||
},
|
||||
"michaelmiller-sec21": {
|
||||
"baseline": "1.0.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"microsoft-signalr": {
|
||||
"baseline": "0.1.0-alpha4",
|
||||
"port-version": 8
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4102acd31187637aed2917a2b8e7a830fc17a645",
|
||||
"version": "1.0.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue