Skip to content

Commit b71f698

Browse files
mochaaPjpakkane
authored andcommitted
ctre: new wrap
1 parent dd520e0 commit b71f698

File tree

4 files changed

+98
-0
lines changed

4 files changed

+98
-0
lines changed

releases.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,14 @@
559559
"1.3.0-1"
560560
]
561561
},
562+
"ctre": {
563+
"dependency_names": [
564+
"ctre"
565+
],
566+
"versions": [
567+
"3.9.0-1"
568+
]
569+
},
562570
"curl": {
563571
"dependency_names": [
564572
"libcurl"

subprojects/ctre.wrap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[wrap-file]
2+
directory = compile-time-regular-expressions-3.9.0
3+
source_url = https://github.com/hanickadot/compile-time-regular-expressions/archive/refs/tags/v3.9.0.tar.gz
4+
source_filename = ctre-v3.9.0.tar.gz
5+
source_hash = 55778712968d4f3ad00e9d20fc4d2149d14d96b4ff3dab086613797cd2ccd2b2
6+
patch_directory = ctre
7+
8+
[provide]
9+
dependency_names = ctre
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
inc = include_directories('.')
2+
3+
hdrs = files(
4+
'ctll.hpp',
5+
'ctll/actions.hpp',
6+
'ctll/fixed_string.hpp',
7+
'ctll/grammars.hpp',
8+
'ctll/list.hpp',
9+
'ctll/parser.hpp',
10+
'ctll/utilities.hpp',
11+
'ctre-unicode.hpp',
12+
'ctre.hpp',
13+
'ctre/actions/asserts.inc.hpp',
14+
'ctre/actions/atomic_group.inc.hpp',
15+
'ctre/actions/backreference.inc.hpp',
16+
'ctre/actions/boundaries.inc.hpp',
17+
'ctre/actions/capture.inc.hpp',
18+
'ctre/actions/characters.inc.hpp',
19+
'ctre/actions/class.inc.hpp',
20+
'ctre/actions/fusion.inc.hpp',
21+
'ctre/actions/hexdec.inc.hpp',
22+
'ctre/actions/look.inc.hpp',
23+
'ctre/actions/mode.inc.hpp',
24+
'ctre/actions/named_class.inc.hpp',
25+
'ctre/actions/options.inc.hpp',
26+
'ctre/actions/properties.inc.hpp',
27+
'ctre/actions/repeat.inc.hpp',
28+
'ctre/actions/sequence.inc.hpp',
29+
'ctre/actions/set.inc.hpp',
30+
'ctre/atoms.hpp',
31+
'ctre/atoms_characters.hpp',
32+
'ctre/atoms_unicode.hpp',
33+
'ctre/evaluation.hpp',
34+
'ctre/find_captures.hpp',
35+
'ctre/first.hpp',
36+
'ctre/flags_and_modes.hpp',
37+
'ctre/functions.hpp',
38+
'ctre/id.hpp',
39+
'ctre/iterators.hpp',
40+
'ctre/literals.hpp',
41+
'ctre/operators.hpp',
42+
'ctre/pcre.hpp',
43+
'ctre/pcre_actions.hpp',
44+
'ctre/range.hpp',
45+
'ctre/return_type.hpp',
46+
'ctre/rotate.hpp',
47+
'ctre/starts_with_anchor.hpp',
48+
'ctre/utf8.hpp',
49+
'ctre/utility.hpp',
50+
'ctre/wrapper.hpp',
51+
'unicode-db.hpp',
52+
'unicode-db/unicode-db.hpp',
53+
'unicode-db/unicode_interface.hpp',
54+
)
55+
56+
install_headers(
57+
hdrs,
58+
preserve_path: true,
59+
)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
project(
2+
'ctre',
3+
'cpp',
4+
version: '3.9.0',
5+
license: 'Apache-2.0',
6+
default_options: ['cpp_std=gnu++20,gnu++17,vc++latest,c++20,c++17'],
7+
)
8+
9+
subdir('include')
10+
11+
ctre_dep = declare_dependency(
12+
include_directories: inc,
13+
sources: hdrs,
14+
)
15+
16+
meson.override_dependency('ctre', ctre_dep)
17+
18+
pkgconf = import('pkgconfig')
19+
pkgconf.generate(
20+
name: 'ctre',
21+
description: 'Fast compile-time regular expressions with support for matching/searching/capturing during compile-time or runtime.',
22+
)

0 commit comments

Comments
 (0)