-
Notifications
You must be signed in to change notification settings - Fork 7k
[argus] New port at version 0.1.0 #46296
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
Changes from all commits
Commits
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,26 @@ | ||
vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH | ||
REPO lucocozz/Argus | ||
REF "v${VERSION}" | ||
SHA512 8464448d0aa664c8bf9f6992ee31db6827fd7b94c376446f4abe4ba8ff05ed85e86efc40fc9e9cbfb469a8fec5efaf2f8cb20cd28402a2091a614b157a63cf0b | ||
HEAD_REF main | ||
) | ||
|
||
set(OPTIONS "") | ||
if(NOT "regex" IN_LIST FEATURES) | ||
list(APPEND OPTIONS -Dregex=false) | ||
endif() | ||
vcpkg_configure_meson( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${OPTIONS} | ||
-Dbenchmarks=false | ||
-Dexamples=false | ||
-Dtests=false | ||
) | ||
|
||
vcpkg_install_meson() | ||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
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,22 @@ | ||
{ | ||
"name": "argus", | ||
"version": "0.1.0", | ||
"description": "Argus is a cross-platform modern feature-rich command-line argument parser for C", | ||
"homepage": "https://github.com/lucocozz/argus", | ||
"license": "MIT", | ||
"supports": "!(windows & static) & !(windows & x86)", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-tool-meson", | ||
"host": true | ||
} | ||
], | ||
"features": { | ||
"regex": { | ||
"description": "Enable regex validation support using PCRE2", | ||
"dependencies": [ | ||
"pcre2" | ||
] | ||
} | ||
} | ||
} |
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": "abb6b37bc3ad957fae11e7dabb205928dcf14f2f", | ||
"version": "0.1.0", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ras0219-msft @BillyONeal and @vicroms
The current name conflicts with
openargus
using our naming guidelines of removing common prefixes/suffixes likeopen-
,lib-
,cpp-
, etc.However, we acknowledge that openargus is not a library and searching for "argus argument parsing in C" does show this library as the top result in Bing. There's also other existing argument parsing libraries with the same name (https://github.com/whexy/Argus, https://github.com/KageKirin/argus) which could lead to confusion for users.
We don't consider this a blocker, but we think your users would feel a lot better if, it had the GitHub org name prefix
lucocozz-argus
.