mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:53:02 +08:00
[cpp-sort] add new port (#34677)
* [cpp-sort] add new port * [cpp-sort] fix usage * [cpp-sort] add new port * [cpp-sort] fix usage * [cpp-sort] add new port
This commit is contained in:
parent
f7dc9c8f5e
commit
46b3d5404d
22
ports/cpp-sort/portfile.cmake
Normal file
22
ports/cpp-sort/portfile.cmake
Normal file
@ -0,0 +1,22 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Morwenn/cpp-sort
|
||||
REF "${VERSION}"
|
||||
SHA512 85d9f68ff64ff23769c66d28153273e2072b2c12f2f94bb058afebc1fb68d852734d3907a51704212d795bff71f327de3497232ba3619179bbaa141ab55b2452
|
||||
HEAD_REF 1.x.y-develop
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCPPSORT_BUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/cpp-sort")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
17
ports/cpp-sort/vcpkg.json
Normal file
17
ports/cpp-sort/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "cpp-sort",
|
||||
"version": "1.15.0",
|
||||
"description": "Sorting algorithms & related tools for C++14",
|
||||
"homepage": "https://github.com/Morwenn/cpp-sort/",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -1820,6 +1820,10 @@
|
||||
"baseline": "4.3.1",
|
||||
"port-version": 5
|
||||
},
|
||||
"cpp-sort": {
|
||||
"baseline": "1.15.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"cpp-taskflow": {
|
||||
"baseline": "2.6.0",
|
||||
"port-version": 2
|
||||
|
9
versions/c-/cpp-sort.json
Normal file
9
versions/c-/cpp-sort.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b474d4009aeb5dd69f5024899bff6fbbb92a78f6",
|
||||
"version": "1.15.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user