diff options
| author | alexv-smirnov <[email protected]> | 2023-06-13 11:05:01 +0300 |
|---|---|---|
| committer | alexv-smirnov <[email protected]> | 2023-06-13 11:05:01 +0300 |
| commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
| tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /tools/enum_parser/parse_enum/benchmark_build | |
| parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
add ymake export to ydb
Diffstat (limited to 'tools/enum_parser/parse_enum/benchmark_build')
3 files changed, 37 insertions, 0 deletions
diff --git a/tools/enum_parser/parse_enum/benchmark_build/lib/ya.make b/tools/enum_parser/parse_enum/benchmark_build/lib/ya.make new file mode 100644 index 00000000000..3e5d7a626b6 --- /dev/null +++ b/tools/enum_parser/parse_enum/benchmark_build/lib/ya.make @@ -0,0 +1,22 @@ +LIBRARY() + +SRCS() + +RUN_PYTHON3( + ${ARCADIA_ROOT}/tools/enum_parser/parse_enum/benchmark_build/lib/gen.py + --range 1000 + --namespace NHuge + --enum EHuge 1000 + STDOUT enum_huge.h +) + +RUN_PYTHON3( + ${ARCADIA_ROOT}/tools/enum_parser/parse_enum/benchmark_build/lib/gen.py + --enum EEnormous 9000 + STDOUT enum_enormous.h +) + +GENERATE_ENUM_SERIALIZATION_WITH_HEADER(enum_huge.h) +GENERATE_ENUM_SERIALIZATION_WITH_HEADER(enum_enormous.h) + +END() diff --git a/tools/enum_parser/parse_enum/benchmark_build/ut/ya.make b/tools/enum_parser/parse_enum/benchmark_build/ut/ya.make new file mode 100644 index 00000000000..802a84325f5 --- /dev/null +++ b/tools/enum_parser/parse_enum/benchmark_build/ut/ya.make @@ -0,0 +1,11 @@ +UNITTEST() + +PEERDIR( + tools/enum_parser/parse_enum/benchmark_build/lib +) + +SRCS( + huge_enums_fallback_ut.cpp +) + +END() diff --git a/tools/enum_parser/parse_enum/benchmark_build/ya.make b/tools/enum_parser/parse_enum/benchmark_build/ya.make new file mode 100644 index 00000000000..ec7e3420274 --- /dev/null +++ b/tools/enum_parser/parse_enum/benchmark_build/ya.make @@ -0,0 +1,4 @@ +RECURSE_FOR_TESTS( + lib + ut +) |
