mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[rxspencer] Add RxSpencer port (#9166)
* [rxspencer] Add RxSpencer port * No need to force dynamic linkage * Review comments * update baseline * Update to latest upstream * Review comments * Update CONTROL Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
76fba5ec78
commit
375ea0ec6b
4
ports/rxspencer/CONTROL
Normal file
4
ports/rxspencer/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: rxspencer
|
||||
Version: 2020-01-12
|
||||
Homepage: https://garyhouston.github.io/regex/
|
||||
Description: Henry Spencer's BSD regular expression library.
|
28
ports/rxspencer/portfile.cmake
Normal file
28
ports/rxspencer/portfile.cmake
Normal file
@ -0,0 +1,28 @@
|
||||
vcpkg_fail_port_install(ON_TARGET "UWP")
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO garyhouston/rxspencer
|
||||
REF e42b6a667f1385aedf49b533b9fbba58e5a26934
|
||||
SHA512 2842e1c78c3ebbbd03d15fb85e55f861740bb446aa57157f3fc90876d931d9f865242f5eaefc94f31c8d78e0d531a008d4c579e9b4f9c7179f5c7a95a98359fd
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DCMAKE_CONFIG_DEST=share/rxspencer
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/rxspencer")
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/regex)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
vcpkg_copy_pdbs()
|
@ -1541,6 +1541,8 @@ rpclib:x86-windows=ignore
|
||||
rpclib:x64-windows-static=ignore
|
||||
rttr:arm-uwp=fail
|
||||
rttr:x64-uwp=fail
|
||||
rxspencer:x64-uwp=fail
|
||||
rxspencer:arm-uwp=fail
|
||||
scintilla:arm-uwp=fail
|
||||
scintilla:x64-linux=fail
|
||||
scintilla:x64-osx=fail
|
||||
|
Loading…
x
Reference in New Issue
Block a user