diff options
author | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2023-03-06 16:56:18 +0300 |
---|---|---|
committer | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2023-03-06 16:56:18 +0300 |
commit | cbc0c479c131a1e63ca86fe98b031e1bcac725d8 (patch) | |
tree | 12245a82da1c7f54d54befcfb7706643e8166505 /library/cpp/config/CMakeLists.linux.txt | |
parent | ea8e336dc456c44b848619e120a8f3643c6125af (diff) | |
download | ydb-cbc0c479c131a1e63ca86fe98b031e1bcac725d8.tar.gz |
External build system generator release 17
Update tools: yexport
Diffstat (limited to 'library/cpp/config/CMakeLists.linux.txt')
-rw-r--r-- | library/cpp/config/CMakeLists.linux.txt | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/library/cpp/config/CMakeLists.linux.txt b/library/cpp/config/CMakeLists.linux.txt index b9f853c8c8..3e91ece220 100644 --- a/library/cpp/config/CMakeLists.linux.txt +++ b/library/cpp/config/CMakeLists.linux.txt @@ -6,6 +6,12 @@ # original buildsystem will not be accepted. +get_built_tool_path( + TOOL_archiver_bin + TOOL_archiver_dependency + tools/archiver + archiver +) add_library(library-cpp-config) target_include_directories(library-cpp-config PUBLIC @@ -33,10 +39,10 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc DEPENDS - ${TOOLS_ROOT}/tools/archiver/archiver + ${TOOL_archiver_bin} ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua COMMAND - ${TOOLS_ROOT}/tools/archiver/archiver + ${TOOL_archiver_bin} -q -x ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua: @@ -48,3 +54,8 @@ target_ragel_lexers(library-cpp-config ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6 -CG2 ) +if(NOT CMAKE_CROSSCOMPILING) + add_dependencies(library-cpp-config + archiver +) +endif() |