aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/examples
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/actors/examples
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/actors/examples')
-rw-r--r--library/cpp/actors/examples/01_ping_pong/ya.make13
-rw-r--r--library/cpp/actors/examples/02_discovery/ya.make25
-rw-r--r--library/cpp/actors/examples/ya.make4
3 files changed, 42 insertions, 0 deletions
diff --git a/library/cpp/actors/examples/01_ping_pong/ya.make b/library/cpp/actors/examples/01_ping_pong/ya.make
new file mode 100644
index 0000000000..d33cfd3456
--- /dev/null
+++ b/library/cpp/actors/examples/01_ping_pong/ya.make
@@ -0,0 +1,13 @@
+PROGRAM(example_01_ping_pong)
+
+ALLOCATOR(LF)
+
+SRCS(
+ main.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+)
+
+END()
diff --git a/library/cpp/actors/examples/02_discovery/ya.make b/library/cpp/actors/examples/02_discovery/ya.make
new file mode 100644
index 0000000000..953c13259c
--- /dev/null
+++ b/library/cpp/actors/examples/02_discovery/ya.make
@@ -0,0 +1,25 @@
+PROGRAM(example_02_discovery)
+
+ALLOCATOR(LF)
+
+SRCS(
+ endpoint.cpp
+ lookup.cpp
+ main.cpp
+ publish.cpp
+ replica.cpp
+ services.h
+)
+
+SRCS(
+ protocol.proto
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/dnsresolver
+ library/cpp/actors/interconnect
+ library/cpp/actors/http
+)
+
+END()
diff --git a/library/cpp/actors/examples/ya.make b/library/cpp/actors/examples/ya.make
new file mode 100644
index 0000000000..0a98074b47
--- /dev/null
+++ b/library/cpp/actors/examples/ya.make
@@ -0,0 +1,4 @@
+RECURSE(
+ 01_ping_pong
+ 02_discovery
+)