aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/symbols
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /library/python/symbols
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/python/symbols')
-rw-r--r--library/python/symbols/libc/CMakeLists.txt14
-rw-r--r--library/python/symbols/python/CMakeLists.txt11
-rw-r--r--library/python/symbols/registry/CMakeLists.txt8
3 files changed, 33 insertions, 0 deletions
diff --git a/library/python/symbols/libc/CMakeLists.txt b/library/python/symbols/libc/CMakeLists.txt
new file mode 100644
index 0000000000..22325080a5
--- /dev/null
+++ b/library/python/symbols/libc/CMakeLists.txt
@@ -0,0 +1,14 @@
+add_library(python-symbols-libc INTERFACE)
+target_link_libraries(python-symbols-libc INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ python-symbols-registry
+)
+
+add_global_library_for(python-symbols-libc.global python-symbols-libc)
+target_compile_options(python-symbols-libc.global PRIVATE
+ -Wno-deprecated-declarations
+)
+target_sources(python-symbols-libc.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/python/symbols/libc/syms.cpp
+)
diff --git a/library/python/symbols/python/CMakeLists.txt b/library/python/symbols/python/CMakeLists.txt
new file mode 100644
index 0000000000..1fe3a19f1c
--- /dev/null
+++ b/library/python/symbols/python/CMakeLists.txt
@@ -0,0 +1,11 @@
+add_library(python-symbols-python INTERFACE)
+target_link_libraries(python-symbols-python INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ python-symbols-registry
+)
+
+add_global_library_for(python-symbols-python.global python-symbols-python)
+target_sources(python-symbols-python.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/python/symbols/python/syms.cpp
+)
diff --git a/library/python/symbols/registry/CMakeLists.txt b/library/python/symbols/registry/CMakeLists.txt
new file mode 100644
index 0000000000..9bb6b61331
--- /dev/null
+++ b/library/python/symbols/registry/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(python-symbols-registry)
+target_link_libraries(python-symbols-registry PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(python-symbols-registry PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/python/symbols/registry/syms.cpp
+)