aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/getopt
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
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 0000000000..bbc01016d6
--- /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 0000000000..b4a8981bac
--- /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 0000000000..fde0eab8bc
--- /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 0000000000..035be9a668
--- /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
+)