File tree Expand file tree Collapse file tree 4 files changed +61
-0
lines changed Expand file tree Collapse file tree 4 files changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_from_github (OUT_SOURCE_PATH SOURCE_PATH
2
+ REPO lucocozz/Argus
3
+ REF "v${VERSION} "
4
+ SHA512 8464448d0aa664c8bf9f6992ee31db6827fd7b94c376446f4abe4ba8ff05ed85e86efc40fc9e9cbfb469a8fec5efaf2f8cb20cd28402a2091a614b157a63cf0b
5
+ HEAD_REF main
6
+ )
7
+
8
+ set (OPTIONS "" )
9
+ if (NOT "regex" IN_LIST FEATURES )
10
+ list (APPEND OPTIONS -Dregex=false )
11
+ endif ()
12
+ vcpkg_configure_meson (
13
+ SOURCE_PATH "${SOURCE_PATH} "
14
+ OPTIONS
15
+ ${OPTIONS}
16
+ -Dbenchmarks=false
17
+ -Dexamples=false
18
+ -Dtests=false
19
+ )
20
+
21
+ vcpkg_install_meson ()
22
+ vcpkg_fixup_pkgconfig ()
23
+
24
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/share" )
25
+
26
+ vcpkg_install_copyright (FILE_LIST "${SOURCE_PATH} /LICENSE" )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " argus" ,
3
+ "version" : " 0.1.0" ,
4
+ "description" : " Argus is a cross-platform modern feature-rich command-line argument parser for C" ,
5
+ "homepage" : " https://github.com/lucocozz/argus" ,
6
+ "license" : " MIT" ,
7
+ "supports" : " !(windows & static) & !(windows & x86)" ,
8
+ "dependencies" : [
9
+ {
10
+ "name" : " vcpkg-tool-meson" ,
11
+ "host" : true
12
+ }
13
+ ],
14
+ "features" : {
15
+ "regex" : {
16
+ "description" : " Enable regex validation support using PCRE2" ,
17
+ "dependencies" : [
18
+ " pcre2"
19
+ ]
20
+ }
21
+ }
22
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " abb6b37bc3ad957fae11e7dabb205928dcf14f2f" ,
5
+ "version" : " 0.1.0" ,
6
+ "port-version" : 0
7
+ }
8
+ ]
9
+ }
Original file line number Diff line number Diff line change 240
240
"baseline" : " 0.3.2" ,
241
241
"port-version" : 0
242
242
},
243
+ "argus" : {
244
+ "baseline" : " 0.1.0" ,
245
+ "port-version" : 0
246
+ },
243
247
"aricpp" : {
244
248
"baseline" : " 1.2.1" ,
245
249
"port-version" : 0
You can’t perform that action at this time.
0 commit comments