aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/core/client/ut/CMakeLists.linux.txt
blob: 550c32f08d31407f208b19955ce2bbac9ecc1ca0 (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
# 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(ydb-core-client-ut)
target_compile_options(ydb-core-client-ut PRIVATE
  -DUSE_CURRENT_UDF_ABI_VERSION
)
target_include_directories(ydb-core-client-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/core/client
)
target_link_libraries(ydb-core-client-ut PUBLIC
  contrib-libs-cxxsupp
  yutil
  cpp-malloc-tcmalloc
  libs-tcmalloc-no_percpu_cache
  library-cpp-cpuid_check
  cpp-testing-unittest_main
  ydb-core-client
  library-cpp-getopt
  cpp-regex-pcre
  library-cpp-svnversion
  core-client-scheme_cache_lib
  test-libs-rows
  core-testlib-default
)
target_link_options(ydb-core-client-ut PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)
target_sources(ydb-core-client-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/core/client/cancel_tx_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/core/client/client_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/core/client/flat_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/core/client/locks_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/core/client/query_stats_ut.cpp
)
add_test(
  NAME
  ydb-core-client-ut
  COMMAND
  ydb-core-client-ut
  --print-before-suite
  --print-before-test
  --fork-tests
  --print-times
  --show-fails
)
vcs_info(ydb-core-client-ut)