aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/protoc/bin
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-25 15:23:32 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-25 15:23:32 +0300
commit33669c796a33523ead0983331e85d192bb460bfb (patch)
treed0e30755698923df0a7b8a9b99e501ac057214ce /contrib/tools/protoc/bin
parentfbc1b1eba4b5a74996651d255f4f286d0ed7c208 (diff)
downloadydb-33669c796a33523ead0983331e85d192bb460bfb.tar.gz
intermediate changes
ref:84de00009e51ecf595c13dfc2c9846069069605d
Diffstat (limited to 'contrib/tools/protoc/bin')
-rw-r--r--contrib/tools/protoc/bin/CMakeLists.darwin.txt27
-rw-r--r--contrib/tools/protoc/bin/CMakeLists.linux.txt32
-rw-r--r--contrib/tools/protoc/bin/CMakeLists.txt13
3 files changed, 72 insertions, 0 deletions
diff --git a/contrib/tools/protoc/bin/CMakeLists.darwin.txt b/contrib/tools/protoc/bin/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..00c5ae2afa
--- /dev/null
+++ b/contrib/tools/protoc/bin/CMakeLists.darwin.txt
@@ -0,0 +1,27 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_executable(protoc)
+target_link_libraries(protoc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ contrib-libs-protoc
+)
+target_sources(protoc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc
+)
+target_link_flags(protoc
+ PUBLIC
+ -Wl,-no_deduplicate
+ -Wl,-sdk_version,10.15
+ -fPIC
+ -fPIC
+)
+vcs_info(protoc)
diff --git a/contrib/tools/protoc/bin/CMakeLists.linux.txt b/contrib/tools/protoc/bin/CMakeLists.linux.txt
new file mode 100644
index 0000000000..d0e1886d1e
--- /dev/null
+++ b/contrib/tools/protoc/bin/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_executable(protoc)
+target_link_libraries(protoc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-lfalloc
+ library-cpp-cpuid_check
+ contrib-libs-protoc
+)
+target_sources(protoc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc
+)
+target_link_flags(protoc
+ PUBLIC
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+vcs_info(protoc)
diff --git a/contrib/tools/protoc/bin/CMakeLists.txt b/contrib/tools/protoc/bin/CMakeLists.txt
new file mode 100644
index 0000000000..a681d385f3
--- /dev/null
+++ b/contrib/tools/protoc/bin/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()