-
Notifications
You must be signed in to change notification settings - Fork 7k
[syscalls-cpp] Add new port #45996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[syscalls-cpp] Add new port #45996
Changes from 5 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
29d2797
[syscalls-cpp] Add new port
sapdragon 7d236ea
[syscalls-cpp] Add new port for v1.0.1
sapdragon 55b8f72
[syscalls-cpp] Update version database
sapdragon 638c724
[syscalls-cpp] Add supports clause for x64-windows only
sapdragon cbd7b19
[syscalls-cpp] Update version database
sapdragon a82b04d
[syscalls-cpp] Fix include path and bump port-version to 1.1.0
sapdragon 6d48212
[syscalls-cpp] Subdirectory include fix
sapdragon 0897a4f
[syscalls-cpp] bump port-version to 1.1.1
sapdragon 10ed645
[syscalls-cpp] x86 supports
sapdragon 92d0217
Update syscalls-cpp.json
LilyWangLL bf1fc1d
[syscalls-cpp] remove testing option
sapdragon e563188
[syscalls-cpp] update portfile
sapdragon ebce6da
[syscalls-cpp] fix git-tree hash
sapdragon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,19 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO sapdragon/syscalls-cpp | ||
REF "v${VERSION}" | ||
SHA512 d030794c786cb4c83121cdeb27beb5beda4c89c3cf0b9eff56ba7e38af0f5249b67fc5225eed93c6adcec37cb25f9b15c76cc17338a63537d3340542188df9c9 | ||
HEAD_REF main | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS -DBUILD_TESTING=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup(PACKAGE_NAME syscalls-cpp) | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") | ||
This file contains hidden or 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,18 @@ | ||
{ | ||
"name": "syscalls-cpp", | ||
"version": "1.0.1", | ||
"description": "A modern C++20 header-only library for advanced direct system call invocation.", | ||
"homepage": "https://github.com/sapdragon/syscalls-cpp", | ||
"license": "MIT", | ||
"supports": "windows & x64", | ||
sapdragon marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains hidden or 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
This file contains hidden or 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": "48827110e6ff6ed7e269dd73d7f70d7637343468", | ||
"version": "1.0.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.