aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libfyaml/CMakeLists.linux.txt
blob: f1c72fcd2112523f7b51aadd22c6b5076ac13905 (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
# This file was generated 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(contrib-libs-libfyaml)
target_compile_options(contrib-libs-libfyaml PRIVATE
  -DHAVE_CONFIG_H
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libfyaml PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/include
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib
  ${CMAKE_SOURCE_DIR}/contrib/libs/xxhash
)
target_link_libraries(contrib-libs-libfyaml PUBLIC
  contrib-libs-linux-headers
  contrib-libs-xxhash
)
target_sources(contrib-libs-libfyaml PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-accel.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-atom.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-composer.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-ctype.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-diag.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-doc.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-docbuilder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-docstate.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-dump.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-emit.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-event.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-input.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-parse.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-path.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-token.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-types.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-utf8.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-utils.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml/src/lib/fy-walk.c
)