diff options
author | ilnaz <ilnaz@ydb.tech> | 2022-10-27 16:57:27 +0300 |
---|---|---|
committer | ilnaz <ilnaz@ydb.tech> | 2022-10-27 16:57:27 +0300 |
commit | 7409037ca690d39e67c2601f0448c94fe3f54367 (patch) | |
tree | be37e04846bd3df3ce39c5518492619e7675b49c /library/cpp | |
parent | 2ab33806be812b8ef4d1260977673a64dc88d2cf (diff) | |
download | ydb-7409037ca690d39e67c2601f0448c94fe3f54367.tar.gz |
Support aws profiles
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/CMakeLists.darwin.txt | 2 | ||||
-rw-r--r-- | library/cpp/CMakeLists.linux-aarch64.txt | 2 | ||||
-rw-r--r-- | library/cpp/CMakeLists.linux.txt | 2 | ||||
-rw-r--r-- | library/cpp/config/CMakeLists.txt | 46 | ||||
-rw-r--r-- | library/cpp/lua/CMakeLists.txt | 22 |
5 files changed, 74 insertions, 0 deletions
diff --git a/library/cpp/CMakeLists.darwin.txt b/library/cpp/CMakeLists.darwin.txt index a58afa12b2..74f3a1430a 100644 --- a/library/cpp/CMakeLists.darwin.txt +++ b/library/cpp/CMakeLists.darwin.txt @@ -23,6 +23,7 @@ add_subdirectory(codecs) add_subdirectory(colorizer) add_subdirectory(compproto) add_subdirectory(comptable) +add_subdirectory(config) add_subdirectory(containers) add_subdirectory(coroutine) add_subdirectory(cppparser) @@ -49,6 +50,7 @@ add_subdirectory(lcs) add_subdirectory(lfalloc) add_subdirectory(linear_regression) add_subdirectory(logger) +add_subdirectory(lua) add_subdirectory(lwtrace) add_subdirectory(malloc) add_subdirectory(messagebus) diff --git a/library/cpp/CMakeLists.linux-aarch64.txt b/library/cpp/CMakeLists.linux-aarch64.txt index d0f76a6815..7ccca0159a 100644 --- a/library/cpp/CMakeLists.linux-aarch64.txt +++ b/library/cpp/CMakeLists.linux-aarch64.txt @@ -23,6 +23,7 @@ add_subdirectory(codecs) add_subdirectory(colorizer) add_subdirectory(compproto) add_subdirectory(comptable) +add_subdirectory(config) add_subdirectory(containers) add_subdirectory(coroutine) add_subdirectory(cppparser) @@ -48,6 +49,7 @@ add_subdirectory(lcs) add_subdirectory(lfalloc) add_subdirectory(linear_regression) add_subdirectory(logger) +add_subdirectory(lua) add_subdirectory(lwtrace) add_subdirectory(malloc) add_subdirectory(messagebus) diff --git a/library/cpp/CMakeLists.linux.txt b/library/cpp/CMakeLists.linux.txt index a58afa12b2..74f3a1430a 100644 --- a/library/cpp/CMakeLists.linux.txt +++ b/library/cpp/CMakeLists.linux.txt @@ -23,6 +23,7 @@ add_subdirectory(codecs) add_subdirectory(colorizer) add_subdirectory(compproto) add_subdirectory(comptable) +add_subdirectory(config) add_subdirectory(containers) add_subdirectory(coroutine) add_subdirectory(cppparser) @@ -49,6 +50,7 @@ add_subdirectory(lcs) add_subdirectory(lfalloc) add_subdirectory(linear_regression) add_subdirectory(logger) +add_subdirectory(lua) add_subdirectory(lwtrace) add_subdirectory(malloc) add_subdirectory(messagebus) diff --git a/library/cpp/config/CMakeLists.txt b/library/cpp/config/CMakeLists.txt new file mode 100644 index 0000000000..ab72d69ca6 --- /dev/null +++ b/library/cpp/config/CMakeLists.txt @@ -0,0 +1,46 @@ + +# 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_library(library-cpp-config) +target_include_directories(library-cpp-config PUBLIC + ${CMAKE_BINARY_DIR}/library/cpp/config +) +target_link_libraries(library-cpp-config PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-archive + library-cpp-json + library-cpp-lua + cpp-string_utils-relaxed_escaper +) +target_sources(library-cpp-config PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc + DEPENDS + COMMAND + ${TOOLS_ROOT}/tools/archiver/archiver + -q + ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua + : + -o + ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc +) +target_ragel_lexers(library-cpp-config + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6 + -CG2 +) diff --git a/library/cpp/lua/CMakeLists.txt b/library/cpp/lua/CMakeLists.txt new file mode 100644 index 0000000000..dfa77ac81d --- /dev/null +++ b/library/cpp/lua/CMakeLists.txt @@ -0,0 +1,22 @@ + +# 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_library(library-cpp-lua) +target_link_libraries(library-cpp-lua PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json + contrib-libs-lua + cpp-string_utils-ztstrbuf +) +target_sources(library-cpp-lua PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lua/eval.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lua/json.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lua/wrapper.cpp +) |