aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt
blob: a1ea2f711d5f015e0a3fd6b25ee95b3cb44009b8 (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
# 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(boost-libs-program_options)
target_compile_options(boost-libs-program_options PRIVATE
  -DBOOST_ATOMIC_STATIC_LINK=1
  -DBOOST_All_STATIC_LINK=1
  -DBOOST_CHRONO_STATIC_LINK=1
  -DBOOST_SYSTEM_STATIC_LINK=1
  -DBOOST_TIMER_STATIC_LINK=1
  -DBOOST_ALL_NO_LIB=1
  -DBOOST_ATOMIC_SOURCE
  -DBOOST_COROUTINES_SOURCE
  -DBOOST_DISABLE_ASSERTS
  -DBOOST_SPIRIT_USE_PHOENIX_V3=1
  -DBOOST_SYSTEM_NO_DEPRECATED
  -DBOOST_THREAD_BUILD_LIB=1
  -DBOOST_THREAD_DONT_USE_CHRONO=1
  -DBOOST_THREAD_NO_LIB=1
  -DBOOST_THREAD_USE_LIB=1
  -DDATE_TIME_INLINE
  -DBOOST_THREAD_DONT_USE_CHRONO
  -DBOOST_THREAD_POSIX
  -Wno-everything
)
target_link_libraries(boost-libs-program_options PUBLIC
  contrib-libs-cxxsupp
  contrib-restricted-boost
)
target_sources(boost-libs-program_options PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/cmdline.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/config_file.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/convert.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/options_description.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/parsers.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/positional_options.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/split.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/utf8_codecvt_facet.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/value_semantic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/variables_map.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/winmain.cpp
)