forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BlingFire] Adding BlingFire Package (microsoft#31139)
* Adding BlingFire Package * Adding updated baseline * Updating supported platforms * Fixing up json * Updating version * Removing uwp platform * Updating version * Updating to commit with cmake config * Updating blingfire version * Updating to latest blingfire with fixes for vcpkg * Updating version
- Loading branch information
1 parent
efea264
commit 3edf135
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO microsoft/BlingFire | ||
REF c0381c68b6aa6d1b4e569888bae1642e40494a99 | ||
SHA512 0fa15791fc815a992023bae6f30c84dda1d477bcdedcf1343d4dbe4b09b51e17fd87bf130d58e50f378ca94982a6306d7f980e3ff4522091be036428684bdcbb | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
WINDOWS_USE_MSBUILD | ||
OPTIONS | ||
${ADDITIONAL_OPTIONS} | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
file(GLOB BINS "${SOURCE_PATH}/nuget/lib/*.bin") | ||
|
||
foreach(BIN ${BINS}) | ||
file(INSTALL "${BIN}" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
endforeach() | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
# Handle copyright | ||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "blingfire", | ||
"version": "0.1.8.1", | ||
"description": "BlingFire is a lightning fast Finite State machine and REgular expression manipulation library.", | ||
"license": "MIT", | ||
"supports": "windows & !static & !uwp", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "8352e7a158da2568b5c67c973b3692681be8b0d6", | ||
"version": "0.1.8.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters