aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/abseil-cpp/absl/flags/internal/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/internal/commandlineflag
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag')
-rw-r--r--contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt25
-rw-r--r--contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt20
2 files changed, 28 insertions, 17 deletions
diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1e9ae5e5af
--- /dev/null
+++ b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# 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(flags-internal-commandlineflag)
+target_compile_options(flags-internal-commandlineflag PRIVATE
+ -DNOMINMAX
+)
+target_include_directories(flags-internal-commandlineflag PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_include_directories(flags-internal-commandlineflag PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(flags-internal-commandlineflag PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(flags-internal-commandlineflag PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag.cc
+)
diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt
index 1e9ae5e5af..c031ddb850 100644
--- a/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt
+++ b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt
@@ -6,20 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(flags-internal-commandlineflag)
-target_compile_options(flags-internal-commandlineflag PRIVATE
- -DNOMINMAX
-)
-target_include_directories(flags-internal-commandlineflag PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
-)
-target_include_directories(flags-internal-commandlineflag PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
-)
-target_link_libraries(flags-internal-commandlineflag PUBLIC
- contrib-libs-cxxsupp
-)
-target_sources(flags-internal-commandlineflag PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag.cc
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()