File tree Expand file tree Collapse file tree 4 files changed +68
-0
lines changed Expand file tree Collapse file tree 4 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_download_distfile (ARCHIVE
2
+ URLS "https://github.com/lucocozz/Argus/releases/download/v${VERSION} /argus-${VERSION} -source.tar.gz"
3
+ FILENAME "argus-${VERSION} -source.tar.gz"
4
+ SHA512 cdb6f96ac0c80d9aaa9d1e1c3161549d4fd324ac755aa61f83070665f6cba9389e6f28791c41c9d0fce2f7c4bf7f2674e65b165cac648efac7fa502d312fa2da
5
+ )
6
+
7
+ vcpkg_extract_source_archive_ex (
8
+ OUT_SOURCE_PATH SOURCE_PATH
9
+ ARCHIVE ${ARCHIVE}
10
+ )
11
+
12
+ set (OPTIONS "" )
13
+ if (NOT "regex" IN_LIST FEATURES )
14
+ list (APPEND OPTIONS -Dregex=false )
15
+ endif ()
16
+ vcpkg_configure_meson (
17
+ SOURCE_PATH "${SOURCE_PATH} "
18
+ OPTIONS
19
+ ${OPTIONS}
20
+ -Dbenchmarks=false
21
+ -Dexamples=false
22
+ -Dtests=false
23
+ )
24
+
25
+ vcpkg_install_meson ()
26
+ vcpkg_fixup_pkgconfig ()
27
+
28
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/share" )
29
+
30
+ 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
+ "default-features" : [
15
+ " regex"
16
+ ],
17
+ "features" : {
18
+ "regex" : {
19
+ "description" : " Enable regex validation support using PCRE2" ,
20
+ "dependencies" : [
21
+ " pcre2"
22
+ ]
23
+ }
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " dc00e3fbf72792a7070819451416def2ac85ec5b" ,
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