diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/regex/pire | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/regex/pire')
-rw-r--r-- | library/cpp/regex/pire/inline/ya.make | 17 | ||||
-rw-r--r-- | library/cpp/regex/pire/ut/ya.make | 39 | ||||
-rw-r--r-- | library/cpp/regex/pire/ya.make | 33 |
3 files changed, 89 insertions, 0 deletions
diff --git a/library/cpp/regex/pire/inline/ya.make b/library/cpp/regex/pire/inline/ya.make new file mode 100644 index 0000000000..fb6aab0839 --- /dev/null +++ b/library/cpp/regex/pire/inline/ya.make @@ -0,0 +1,17 @@ +PROGRAM(pire_inline) + +CFLAGS(-DPIRE_NO_CONFIG) + +PEERDIR( + ADDINCL library/cpp/regex/pire +) + +SRCDIR( + contrib/libs/pire/pire +) + +SRCS( + inline.l +) + +END() diff --git a/library/cpp/regex/pire/ut/ya.make b/library/cpp/regex/pire/ut/ya.make new file mode 100644 index 0000000000..0e106cf6b3 --- /dev/null +++ b/library/cpp/regex/pire/ut/ya.make @@ -0,0 +1,39 @@ +# this test in not linked into build tree with ReCURSE and is built by unittest/library + +UNITTEST() + +SET(PIRETESTSDIR contrib/libs/pire/ut) + +CFLAGS(-DPIRE_NO_CONFIG) + +PEERDIR( + library/cpp/regex/pire +) + +SRCDIR( + ${PIRETESTSDIR} +) + +ADDINCL( + contrib/libs/pire/pire + contrib/libs/pire/ut +) + +SRCS( + pire_ut.cpp + capture_ut.cpp + count_ut.cpp + glyph_ut.cpp + easy_ut.cpp + read_unicode_ut.cpp + regexp_ut.cpp + approx_matching_ut.cpp +) + +SIZE(MEDIUM) + +TIMEOUT(600) + +PIRE_INLINE(inline_ut.cpp) + +END() diff --git a/library/cpp/regex/pire/ya.make b/library/cpp/regex/pire/ya.make new file mode 100644 index 0000000000..b2579a73df --- /dev/null +++ b/library/cpp/regex/pire/ya.make @@ -0,0 +1,33 @@ +LIBRARY() + +CFLAGS(-DPIRE_NO_CONFIG) + +SRCDIR(contrib/libs/pire/pire) + +SRCS( + pcre2pire.cpp + classes.cpp + encoding.cpp + fsm.cpp + scanner_io.cpp + easy.cpp + scanners/null.cpp + extra/capture.cpp + extra/count.cpp + extra/glyphs.cpp + re_lexer.cpp + re_parser.y + read_unicode.cpp + extraencodings.cpp + approx_matching.cpp + half_final_fsm.cpp + minimize.h +) + +PEERDIR( + library/cpp/charset +) + +END() + +RECURSE_FOR_TESTS(ut) |