mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:01:37 +08:00
Add port foonathan-lexy (#28658)
This commit is contained in:
parent
b353cc2ce0
commit
a140f37ac3
31
ports/foonathan-lexy/portfile.cmake
Normal file
31
ports/foonathan-lexy/portfile.cmake
Normal file
@ -0,0 +1,31 @@
|
||||
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO foonathan/lexy
|
||||
REF "v${VERSION}"
|
||||
SHA512 9818882bd83e19a0087ced3c209ae13645df675f1c5cb8f67f06d0993de9d19dadbc7684147abe9236fde1f688e0e539dc519d4198a3e3b5d247137a2675bd77
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DLEXY_BUILD_BENCHMARKS=OFF
|
||||
-DLEXY_BUILD_EXAMPLES=OFF
|
||||
-DLEXY_BUILD_TESTS=OFF
|
||||
-DLEXY_BUILD_DOCS=OFF
|
||||
-DLEXY_BUILD_PACKAGE=OFF
|
||||
-DLEXY_ENABLE_INSTALL=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME lexy
|
||||
CONFIG_PATH lib/cmake/lexy
|
||||
)
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
18
ports/foonathan-lexy/vcpkg.json
Normal file
18
ports/foonathan-lexy/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "foonathan-lexy",
|
||||
"version": "2022.12.0",
|
||||
"description": "C++ parsing DSL",
|
||||
"homepage": "https://github.com/foonathan/lexy",
|
||||
"license": "BSL-1.0",
|
||||
"supports": "x64 | arm64",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -2432,6 +2432,10 @@
|
||||
"baseline": "2.14.1",
|
||||
"port-version": 1
|
||||
},
|
||||
"foonathan-lexy": {
|
||||
"baseline": "2022.12.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"foonathan-memory": {
|
||||
"baseline": "2019-07-21",
|
||||
"port-version": 2
|
||||
|
9
versions/f-/foonathan-lexy.json
Normal file
9
versions/f-/foonathan-lexy.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "debd6cde2234c74696c061ffff653159f0d8ad2e",
|
||||
"version": "2022.12.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user