Skip to content

Commit fc2c844

Browse files
cwalk 1.2.9
1 parent 6c17604 commit fc2c844

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

releases.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,14 @@
505505
"8.0.1-1"
506506
]
507507
},
508+
"cwalk": {
509+
"dependency_names": [
510+
"cwalk"
511+
],
512+
"versions": [
513+
"1.2.9-1"
514+
]
515+
},
508516
"cxxopts": {
509517
"dependency_names": [
510518
"cxxopts"

subprojects/cwalk.wrap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[wrap-file]
2+
directory = cwalk-1.2.9
3+
source_url = https://github.com/likle/cwalk/archive/refs/tags/v1.2.9.tar.gz
4+
source_filename = v1.2.9.tar.gz
5+
source_hash = 54f160031687ec90a414e0656cf6266445207cb91b720dacf7a7c415d6bc7108
6+
patch_directory = cwalk
7+
8+
[provide]
9+
cwalk = cwalk_dep
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
project('cwalk', 'c',
2+
license: 'MIT',
3+
version: '1.2.9',
4+
meson_version: '>= 0.57.0'
5+
)
6+
7+
cwalk_inc = include_directories('include')
8+
9+
cwalk_c_args = []
10+
if get_option('default_library') != 'static'
11+
cwalk_c_args += '-DCWK_SHARED'
12+
endif
13+
14+
cwalk = library('cwalk', 'src/cwalk.c',
15+
install: true,
16+
include_directories: cwalk_inc,
17+
c_args: cwalk_c_args
18+
)
19+
20+
install_headers('include/cwalk.h')
21+
22+
cwalk_dep = declare_dependency(include_directories: 'include', link_with: cwalk)
23+
24+
if get_option('ENABLE_TESTS')
25+
subdir('test')
26+
endif
27+
28+
pkg = import('pkgconfig')
29+
pkg.generate(cwalk)

0 commit comments

Comments
 (0)