aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lfalloc/CMakeLists.darwin.txt
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2022-09-01 05:47:31 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2022-09-01 05:47:31 +0300
commite83b936566d59e48df0aa4c414beaf0c4519c772 (patch)
tree43d715760743f81e2060d6ee6f4d4c9d8693751e /library/cpp/lfalloc/CMakeLists.darwin.txt
parentfc8096bf8173562afc5da58dbbb019af2ce1ee2f (diff)
downloadydb-e83b936566d59e48df0aa4c414beaf0c4519c772.tar.gz
Update external build system generation utility
* [cmake] Hierarchical add_subdirectroy structure * [cmake] Support for same file compilation multiple times with different flags
Diffstat (limited to 'library/cpp/lfalloc/CMakeLists.darwin.txt')
-rw-r--r--library/cpp/lfalloc/CMakeLists.darwin.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/library/cpp/lfalloc/CMakeLists.darwin.txt b/library/cpp/lfalloc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3c17261bd6
--- /dev/null
+++ b/library/cpp/lfalloc/CMakeLists.darwin.txt
@@ -0,0 +1,23 @@
+
+# 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_subdirectory(alloc_profiler)
+add_subdirectory(dbg_info)
+add_subdirectory(yt)
+
+add_library(library-cpp-lfalloc)
+target_compile_options(library-cpp-lfalloc PRIVATE
+ -Wno-everything
+)
+target_link_libraries(library-cpp-lfalloc PUBLIC
+ contrib-libs-cxxsupp
+ cpp-malloc-api
+)
+target_sources(library-cpp-lfalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp
+)