Skip to content

[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 1 commit into from
Jul 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions ports/argus/portfile.cmake
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")
22 changes: 22 additions & 0 deletions ports/argus/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "argus",
Copy link
Member

@vicroms vicroms Jul 10, 2025

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 like open-, 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.

"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"
]
}
}
}
9 changes: 9 additions & 0 deletions versions/a-/argus.json
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
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@
"baseline": "0.3.2",
"port-version": 0
},
"argus": {
"baseline": "0.1.0",
"port-version": 0
},
"aricpp": {
"baseline": "1.2.1",
"port-version": 0
Expand Down