aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/getopt
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/getopt')
-rw-r--r--library/cpp/getopt/last_getopt_demo/ya.make11
-rw-r--r--library/cpp/getopt/small/ya.make26
-rw-r--r--library/cpp/getopt/ut/ya.make13
-rw-r--r--library/cpp/getopt/ya.make19
4 files changed, 69 insertions, 0 deletions
diff --git a/library/cpp/getopt/last_getopt_demo/ya.make b/library/cpp/getopt/last_getopt_demo/ya.make
new file mode 100644
index 00000000000..bbc01016d63
--- /dev/null
+++ b/library/cpp/getopt/last_getopt_demo/ya.make
@@ -0,0 +1,11 @@
+PROGRAM(last_getopt_demo)
+
+PEERDIR(
+ library/cpp/getopt
+)
+
+SRCS(
+ demo.cpp
+)
+
+END()
diff --git a/library/cpp/getopt/small/ya.make b/library/cpp/getopt/small/ya.make
new file mode 100644
index 00000000000..b4a8981bacf
--- /dev/null
+++ b/library/cpp/getopt/small/ya.make
@@ -0,0 +1,26 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/colorizer
+)
+
+SRCS(
+ completer.cpp
+ completer_command.cpp
+ completion_generator.cpp
+ formatted_output.cpp
+ last_getopt.cpp
+ last_getopt_easy_setup.cpp
+ last_getopt_opt.cpp
+ last_getopt_opts.cpp
+ last_getopt_parser.cpp
+ last_getopt_parse_result.cpp
+ modchooser.cpp
+ opt.cpp
+ opt2.cpp
+ posix_getopt.cpp
+ wrap.cpp
+ ygetopt.cpp
+)
+
+END()
diff --git a/library/cpp/getopt/ut/ya.make b/library/cpp/getopt/ut/ya.make
new file mode 100644
index 00000000000..fde0eab8bcd
--- /dev/null
+++ b/library/cpp/getopt/ut/ya.make
@@ -0,0 +1,13 @@
+UNITTEST_FOR(library/cpp/getopt)
+
+SRCS(
+ last_getopt_ut.cpp
+ modchooser_ut.cpp
+ opt2_ut.cpp
+ opt_ut.cpp
+ posix_getopt_ut.cpp
+ wrap.cpp
+ ygetopt_ut.cpp
+)
+
+END()
diff --git a/library/cpp/getopt/ya.make b/library/cpp/getopt/ya.make
new file mode 100644
index 00000000000..035be9a668d
--- /dev/null
+++ b/library/cpp/getopt/ya.make
@@ -0,0 +1,19 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/getopt/small
+ library/cpp/svnversion
+ library/cpp/build_info
+)
+
+SRCS(
+ GLOBAL print.cpp
+)
+
+END()
+
+RECURSE(
+ last_getopt_demo
+ small
+ ut
+)