aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt
blob: e79b24e3ae95f340ed2258cede3e04af4426e68b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 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_subdirectory(commandlineflag)
add_subdirectory(internal)
add_subdirectory(marshalling)
add_subdirectory(parse)
add_subdirectory(reflection)
add_subdirectory(usage)
add_subdirectory(usage_config)

add_library(abseil-cpp-absl-flags)
target_compile_options(abseil-cpp-absl-flags PRIVATE
  -DNOMINMAX
  -Wno-everything
)
target_include_directories(abseil-cpp-absl-flags PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
)
target_link_libraries(abseil-cpp-absl-flags PUBLIC
  contrib-libs-cxxsupp
  abseil-cpp-absl-base
  base-internal-low_level_alloc
  base-internal-raw_logging
  base-internal-spinlock_wait
  base-internal-throw_delegate
  absl-base-log_severity
  abseil-cpp-absl-city
  container-internal-absl_hashtablez_sampler
  container-internal-raw_hash_set
  abseil-cpp-absl-debugging
  absl-debugging-stacktrace
  absl-debugging-symbolize
  abseil-cpp-absl-demangle
  absl-flags-commandlineflag
  flags-internal-commandlineflag
  flags-internal-flag
  flags-internal-private_handle_accessor
  flags-internal-program_name
  absl-flags-marshalling
  absl-flags-reflection
  absl-flags-usage_config
  abseil-cpp-absl-hash
  absl-hash-internal
  abseil-cpp-absl-numeric
  profiling-internal-exponential_biased
  abseil-cpp-absl-strings
  absl-strings-cord
  strings-internal-absl_cord_internal
  strings-internal-absl_strings_internal
  strings-internal-cordz_functions
  strings-internal-cordz_handle
  strings-internal-cordz_info
  strings-internal-str_format
  abseil-cpp-absl-synchronization
  absl-synchronization-internal
  abseil-cpp-absl-time
  absl-time-civil_time
  absl-time-time_zone
  absl-types-bad_optional_access
  absl-types-bad_variant_access
)
target_sources(abseil-cpp-absl-flags PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/flag.cc
)