summaryrefslogtreecommitdiffstats
path: root/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.linux.txt
blob: a73a2f51dc8183a2d1441efa391d2ef101e352ca (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

# 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_executable(basic_example)
target_link_libraries(basic_example PUBLIC
  contrib-libs-cxxsupp
  yutil
  library-cpp-lfalloc
  library-cpp-cpuid_check
  library-cpp-getopt
  cpp-client-ydb_table
)
target_link_options(basic_example PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)
target_sources(basic_example PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/main.cpp
  ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example_data.cpp
  ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example.cpp
)
vcs_info(basic_example)