diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
commit | b4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch) | |
tree | 6a64ab25a145265287789bceed3f59e953561206 /library/cpp/getopt | |
parent | 5e837a820d5be0671fa4096a1cc1e378453e5132 (diff) | |
download | ydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz |
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/getopt')
-rw-r--r-- | library/cpp/getopt/CMakeLists.txt | 13 | ||||
-rw-r--r-- | library/cpp/getopt/small/CMakeLists.txt | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/library/cpp/getopt/CMakeLists.txt b/library/cpp/getopt/CMakeLists.txt new file mode 100644 index 00000000000..fc9fb0610ba --- /dev/null +++ b/library/cpp/getopt/CMakeLists.txt @@ -0,0 +1,13 @@ +add_library(library-cpp-getopt INTERFACE) +target_link_libraries(library-cpp-getopt INTERFACE + contrib-libs-cxxsupp + yutil + cpp-getopt-small + library-cpp-svnversion + library-cpp-build_info +) + +add_global_library_for(library-cpp-getopt.global library-cpp-getopt) +target_sources(library-cpp-getopt.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.cpp +) diff --git a/library/cpp/getopt/small/CMakeLists.txt b/library/cpp/getopt/small/CMakeLists.txt new file mode 100644 index 00000000000..aea11e19af9 --- /dev/null +++ b/library/cpp/getopt/small/CMakeLists.txt @@ -0,0 +1,24 @@ +add_library(cpp-getopt-small) +target_link_libraries(cpp-getopt-small PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-colorizer +) +target_sources(cpp-getopt-small PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer_command.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completion_generator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/formatted_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_easy_setup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opts.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parser.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parse_result.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/modchooser.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt2.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/posix_getopt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/wrap.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/ygetopt.cpp +) |