aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/abseil-cpp/absl/flags/commandlineflag
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
commitd32759b7eb812b4a4033cc61e1e98245544b4992 (patch)
tree22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/restricted/abseil-cpp/absl/flags/commandlineflag
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/restricted/abseil-cpp/absl/flags/commandlineflag')
-rw-r--r--contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt35
-rw-r--r--contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt30
2 files changed, 38 insertions, 27 deletions
diff --git a/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f0a69db5a4
--- /dev/null
+++ b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt
@@ -0,0 +1,35 @@
+
+# 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(absl-flags-commandlineflag)
+target_compile_options(absl-flags-commandlineflag PRIVATE
+ -DNOMINMAX
+)
+target_include_directories(absl-flags-commandlineflag PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_include_directories(absl-flags-commandlineflag PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(absl-flags-commandlineflag PUBLIC
+ contrib-libs-cxxsupp
+ abseil-cpp-absl-base
+ base-internal-raw_logging
+ base-internal-spinlock_wait
+ base-internal-throw_delegate
+ absl-base-log_severity
+ flags-internal-commandlineflag
+ abseil-cpp-absl-numeric
+ abseil-cpp-absl-strings
+ strings-internal-absl_strings_internal
+ absl-types-bad_optional_access
+)
+target_sources(absl-flags-commandlineflag PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/commandlineflag.cc
+)
diff --git a/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt
index f0a69db5a4..c031ddb850 100644
--- a/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt
+++ b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt
@@ -6,30 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(absl-flags-commandlineflag)
-target_compile_options(absl-flags-commandlineflag PRIVATE
- -DNOMINMAX
-)
-target_include_directories(absl-flags-commandlineflag PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
-)
-target_include_directories(absl-flags-commandlineflag PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
-)
-target_link_libraries(absl-flags-commandlineflag PUBLIC
- contrib-libs-cxxsupp
- abseil-cpp-absl-base
- base-internal-raw_logging
- base-internal-spinlock_wait
- base-internal-throw_delegate
- absl-base-log_severity
- flags-internal-commandlineflag
- abseil-cpp-absl-numeric
- abseil-cpp-absl-strings
- strings-internal-absl_strings_internal
- absl-types-bad_optional_access
-)
-target_sources(absl-flags-commandlineflag PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/commandlineflag.cc
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()