File tree Expand file tree Collapse file tree 21 files changed +39
-39
lines changed Expand file tree Collapse file tree 21 files changed +39
-39
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ string(REGEX MATCH "YDB_SDK_VERSION = \"([0-9]+\\.[0-9]+\\.[0-9]+)\"" _ ${YDB_SD
5
5
set (YDB_SDK_VERSION ${CMAKE_MATCH_1} )
6
6
message (STATUS "YDB С++ SDK version: ${YDB_SDK_VERSION} " )
7
7
8
- project (ydb-cpp-sdk VERSION ${YDB_SDK_VERSION} LANGUAGES C CXX ASM )
8
+ project (YDB-CPP-SDK VERSION ${YDB_SDK_VERSION} LANGUAGES C CXX ASM )
9
9
10
10
option (YDB_SDK_INSTALL "Install YDB C++ SDK" Off )
11
11
option (YDB_SDK_TESTS "Build YDB C++ SDK tests" Off )
@@ -79,7 +79,7 @@ if (YDB_SDK_INSTALL)
79
79
install (EXPORT ydb-cpp-sdk-targets
80
80
FILE ydb-cpp-sdk-targets.cmake
81
81
CONFIGURATIONS RELEASE
82
- NAMESPACE ydb-cpp-sdk ::
82
+ NAMESPACE YDB-CPP-SDK ::
83
83
DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/ydb-cpp-sdk/release
84
84
)
85
85
configure_package_config_file (
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ function(resources Tgt Output)
173
173
endfunction ()
174
174
175
175
function (_ydb_sdk_make_client_component CmpName Tgt )
176
- add_library (ydb-cpp-sdk ::${CmpName} ALIAS ${Tgt} )
176
+ add_library (YDB-CPP-SDK ::${CmpName} ALIAS ${Tgt} )
177
177
178
178
_ydb_sdk_install_targets (TARGETS ${Tgt} ${ARGN} )
179
179
set (YDB-CPP-SDK_AVAILABLE_COMPONENTS ${YDB-CPP-SDK_AVAILABLE_COMPONENTS} ${CmpName} CACHE INTERNAL "" )
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function(_find_ydb_sdk_component CompName)
44
44
message (FATAL_ERROR "${CompName} is not available component" )
45
45
endif ()
46
46
list (GET YDB-CPP-SDK_COMPONENT_TARGETS ${CompId} Tgt )
47
- add_library (ydb-cpp-sdk ::${CompName} ALIAS ydb-cpp-sdk ::${Tgt} )
47
+ add_library (YDB-CPP-SDK ::${CompName} ALIAS YDB-CPP-SDK ::${Tgt} )
48
48
set (YDB-CPP-SDK_${CompName}_FOUND TRUE PARENT_SCOPE )
49
49
endfunction ()
50
50
@@ -56,4 +56,4 @@ endforeach()
56
56
57
57
@PACKAGE_INIT@
58
58
59
- check_required_components (ydb-cpp-sdk )
59
+ check_required_components (YDB-CPP-SDK )
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ add_executable(basic_example)
3
3
target_link_libraries (basic_example PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Query
7
- ydb-cpp-sdk ::Params
8
- ydb-cpp-sdk ::Driver
6
+ YDB-CPP-SDK ::Query
7
+ YDB-CPP-SDK ::Params
8
+ YDB-CPP-SDK ::Driver
9
9
)
10
10
11
11
target_sources (basic_example PRIVATE
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_executable(bulk_upsert_simple)
3
3
target_link_libraries (bulk_upsert_simple PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
)
8
8
9
9
target_sources (bulk_upsert_simple PRIVATE
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_executable(pagination)
3
3
target_link_libraries (pagination PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
)
8
8
9
9
target_sources (pagination PRIVATE
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_executable(secondary_index)
3
3
target_link_libraries (secondary_index PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
)
8
8
9
9
target_sources (secondary_index PRIVATE
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_executable(secondary_index_builtin)
3
3
target_link_libraries (secondary_index_builtin PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
)
8
8
9
9
target_sources (secondary_index_builtin PRIVATE
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ add_executable(persqueue_reader_eventloop)
2
2
3
3
target_link_libraries (persqueue_reader_eventloop PUBLIC
4
4
yutil
5
- ydb-cpp-sdk ::Topic
5
+ YDB-CPP-SDK ::Topic
6
6
getopt
7
7
)
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ add_executable(simple_persqueue_reader)
2
2
3
3
target_link_libraries (simple_persqueue_reader PUBLIC
4
4
yutil
5
- ydb-cpp-sdk ::Topic
5
+ YDB-CPP-SDK ::Topic
6
6
getopt
7
7
)
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ add_executable(read_from_topic_in_transaction)
2
2
3
3
target_link_libraries (read_from_topic_in_transaction PUBLIC
4
4
yutil
5
- ydb-cpp-sdk ::Topic
5
+ YDB-CPP-SDK ::Topic
6
6
getopt
7
7
)
8
8
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_executable(ttl)
3
3
target_link_libraries (ttl PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
)
8
8
9
9
target_sources (ttl PRIVATE
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_executable(vector_index)
3
3
target_link_libraries (vector_index PUBLIC
4
4
yutil
5
5
getopt
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
)
8
8
9
9
target_sources (vector_index PRIVATE
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ target_include_directories(ydb-odbc
14
14
15
15
target_link_libraries (ydb-odbc
16
16
PRIVATE
17
- ydb-cpp-sdk ::Query
18
- ydb-cpp-sdk ::Table
19
- ydb-cpp-sdk ::Driver
17
+ YDB-CPP-SDK ::Query
18
+ YDB-CPP-SDK ::Table
19
+ YDB-CPP-SDK ::Driver
20
20
ODBC::ODBC
21
21
)
22
22
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ add_ydb_test(NAME basic_example_it GTEST
6
6
LINK_LIBRARIES
7
7
yutil
8
8
api-protos
9
- ydb-cpp-sdk ::Driver
10
- ydb-cpp-sdk ::Proto
11
- ydb-cpp-sdk ::Table
9
+ YDB-CPP-SDK ::Driver
10
+ YDB-CPP-SDK ::Proto
11
+ YDB-CPP-SDK ::Table
12
12
LABELS
13
13
integration
14
14
)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ add_ydb_test(NAME bulk_upsert_it GTEST
5
5
bulk_upsert.h
6
6
LINK_LIBRARIES
7
7
yutil
8
- ydb-cpp-sdk ::Table
8
+ YDB-CPP-SDK ::Table
9
9
LABELS
10
10
integration
11
11
)
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ add_ydb_test(NAME server_restart_it GTEST
4
4
LINK_LIBRARIES
5
5
yutil
6
6
api-grpc
7
- ydb-cpp-sdk ::Query
7
+ YDB-CPP-SDK ::Query
8
8
gRPC::grpc++
9
9
LABELS
10
10
integration
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ add_ydb_test(NAME sessions_it GTEST
3
3
main.cpp
4
4
LINK_LIBRARIES
5
5
yutil
6
- ydb-cpp-sdk ::Table
7
- ydb-cpp-sdk ::Query
6
+ YDB-CPP-SDK ::Table
7
+ YDB-CPP-SDK ::Query
8
8
api-grpc
9
9
grpc-client
10
10
LABELS
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_ydb_test(NAME sessions_pool_it GTEST
3
3
main.cpp
4
4
LINK_LIBRARIES
5
5
yutil
6
- ydb-cpp-sdk ::Table
6
+ YDB-CPP-SDK ::Table
7
7
api-grpc
8
8
LABELS
9
9
integration
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_ydb_test(NAME topic_it GTEST
3
3
basic_usage.cpp
4
4
LINK_LIBRARIES
5
5
yutil
6
- ydb-cpp-sdk ::Topic
6
+ YDB-CPP-SDK ::Topic
7
7
cpp-client-ydb_persqueue_public
8
8
api-grpc
9
9
LABELS
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_ydb_test(NAME client-ydb_coordination_ut
3
3
coordination/coordination_ut.cpp
4
4
LINK_LIBRARIES
5
5
yutil
6
- ydb-cpp-sdk ::Coordination
6
+ YDB-CPP-SDK ::Coordination
7
7
api-grpc
8
8
LABELS
9
9
unit
@@ -14,8 +14,8 @@ add_ydb_test(NAME client-extensions-discovery_mutator_ut
14
14
discovery_mutator/discovery_mutator_ut.cpp
15
15
LINK_LIBRARIES
16
16
yutil
17
- ydb-cpp-sdk ::DiscoveryMutator
18
- ydb-cpp-sdk ::Table
17
+ YDB-CPP-SDK ::DiscoveryMutator
18
+ YDB-CPP-SDK ::Table
19
19
LABELS
20
20
unit
21
21
)
@@ -25,8 +25,8 @@ add_ydb_test(NAME client-ydb_driver_ut
25
25
driver/driver_ut.cpp
26
26
LINK_LIBRARIES
27
27
yutil
28
- ydb-cpp-sdk ::Driver
29
- ydb-cpp-sdk ::Table
28
+ YDB-CPP-SDK ::Driver
29
+ YDB-CPP-SDK ::Table
30
30
LABELS
31
31
unit
32
32
)
@@ -62,7 +62,7 @@ add_ydb_test(NAME client-ydb_params_ut GTEST
62
62
params/params_ut.cpp
63
63
LINK_LIBRARIES
64
64
yutil
65
- ydb-cpp-sdk ::Params
65
+ YDB-CPP-SDK ::Params
66
66
LABELS
67
67
unit
68
68
)
@@ -72,8 +72,8 @@ add_ydb_test(NAME client-ydb_result_ut
72
72
result/result_ut.cpp
73
73
LINK_LIBRARIES
74
74
yutil
75
- ydb-cpp-sdk ::Result
76
- ydb-cpp-sdk ::Params
75
+ YDB-CPP-SDK ::Result
76
+ YDB-CPP-SDK ::Params
77
77
LABELS
78
78
unit
79
79
)
@@ -83,8 +83,8 @@ add_ydb_test(NAME client-ydb_value_ut GTEST
83
83
value /value_ut.cpp
84
84
LINK_LIBRARIES
85
85
yutil
86
- ydb-cpp-sdk ::Value
87
- ydb-cpp-sdk ::Params
86
+ YDB-CPP-SDK ::Value
87
+ YDB-CPP-SDK ::Params
88
88
LABELS
89
89
unit
90
90
)
You can’t perform that action at this time.
0 commit comments