-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add deps for gap * add re2c * package re2c as tool because it has no headers and is just binaries --------- Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
- Loading branch information
Showing
3 changed files
with
39 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
xed | ||
z3 | ||
glog | ||
re2c | ||
gtest | ||
gflags | ||
protobuf | ||
|
@@ -14,4 +15,6 @@ re2 | |
zstd | ||
lz4 | ||
doctest | ||
fmt | ||
spdlog | ||
sqlite3[fts5] |
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,23 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO skvadrik/re2c | ||
REF "${VERSION}" | ||
SHA512 7528d78e1354c774783e63e05553b7a772f8185b43b988cddf79a527ed63316f18e6f9fb3a63ae4d5c83c9f4de2b672b0e61898d96bdd6f15a1eaa7b4d47c757 | ||
HEAD_REF master | ||
) | ||
|
||
set(VCPKG_BUILD_TYPE release) | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
) | ||
|
||
vcpkg_cmake_install() | ||
vcpkg_copy_tools( | ||
TOOL_NAMES re2c re2go re2rust | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/re2c" | ||
AUTO_CLEAN | ||
) | ||
|
||
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |
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": "re2c", | ||
"version": "3.1", | ||
"description": "Lexer generator for C, C++, Go and Rust.", | ||
"homepage": "https://re2c.org/", | ||
"license": null, | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
] | ||
} |