Skip to content

Commit c431fd2

Browse files
committed
fix
1 parent 03edcdb commit c431fd2

File tree

21 files changed

+39
-39
lines changed

21 files changed

+39
-39
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ string(REGEX MATCH "YDB_SDK_VERSION = \"([0-9]+\\.[0-9]+\\.[0-9]+)\"" _ ${YDB_SD
55
set(YDB_SDK_VERSION ${CMAKE_MATCH_1})
66
message(STATUS "YDB С++ SDK version: ${YDB_SDK_VERSION}")
77

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)
99

1010
option(YDB_SDK_INSTALL "Install YDB C++ SDK" Off)
1111
option(YDB_SDK_TESTS "Build YDB C++ SDK tests" Off)
@@ -79,7 +79,7 @@ if (YDB_SDK_INSTALL)
7979
install(EXPORT ydb-cpp-sdk-targets
8080
FILE ydb-cpp-sdk-targets.cmake
8181
CONFIGURATIONS RELEASE
82-
NAMESPACE ydb-cpp-sdk::
82+
NAMESPACE YDB-CPP-SDK::
8383
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ydb-cpp-sdk/release
8484
)
8585
configure_package_config_file(

cmake/common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function(resources Tgt Output)
173173
endfunction()
174174

175175
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})
177177

178178
_ydb_sdk_install_targets(TARGETS ${Tgt} ${ARGN})
179179
set(YDB-CPP-SDK_AVAILABLE_COMPONENTS ${YDB-CPP-SDK_AVAILABLE_COMPONENTS} ${CmpName} CACHE INTERNAL "")

cmake/ydb-cpp-sdk-config.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function(_find_ydb_sdk_component CompName)
4444
message(FATAL_ERROR "${CompName} is not available component")
4545
endif()
4646
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})
4848
set(YDB-CPP-SDK_${CompName}_FOUND TRUE PARENT_SCOPE)
4949
endfunction()
5050

@@ -56,4 +56,4 @@ endforeach()
5656

5757
@PACKAGE_INIT@
5858

59-
check_required_components(ydb-cpp-sdk)
59+
check_required_components(YDB-CPP-SDK)

examples/basic_example/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ add_executable(basic_example)
33
target_link_libraries(basic_example PUBLIC
44
yutil
55
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
99
)
1010

1111
target_sources(basic_example PRIVATE

examples/bulk_upsert_simple/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(bulk_upsert_simple)
33
target_link_libraries(bulk_upsert_simple PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(bulk_upsert_simple PRIVATE

examples/pagination/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(pagination)
33
target_link_libraries(pagination PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(pagination PRIVATE

examples/secondary_index/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(secondary_index)
33
target_link_libraries(secondary_index PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(secondary_index PRIVATE

examples/secondary_index_builtin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(secondary_index_builtin)
33
target_link_libraries(secondary_index_builtin PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(secondary_index_builtin PRIVATE

examples/topic_reader/eventloop/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(persqueue_reader_eventloop)
22

33
target_link_libraries(persqueue_reader_eventloop PUBLIC
44
yutil
5-
ydb-cpp-sdk::Topic
5+
YDB-CPP-SDK::Topic
66
getopt
77
)
88

examples/topic_reader/simple/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(simple_persqueue_reader)
22

33
target_link_libraries(simple_persqueue_reader PUBLIC
44
yutil
5-
ydb-cpp-sdk::Topic
5+
YDB-CPP-SDK::Topic
66
getopt
77
)
88

examples/topic_reader/transaction/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(read_from_topic_in_transaction)
22

33
target_link_libraries(read_from_topic_in_transaction PUBLIC
44
yutil
5-
ydb-cpp-sdk::Topic
5+
YDB-CPP-SDK::Topic
66
getopt
77
)
88

examples/ttl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(ttl)
33
target_link_libraries(ttl PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(ttl PRIVATE

examples/vector_index/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(vector_index)
33
target_link_libraries(vector_index PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(vector_index PRIVATE

odbc/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ target_include_directories(ydb-odbc
1414

1515
target_link_libraries(ydb-odbc
1616
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
2020
ODBC::ODBC
2121
)
2222

tests/integration/basic_example/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ add_ydb_test(NAME basic_example_it GTEST
66
LINK_LIBRARIES
77
yutil
88
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
1212
LABELS
1313
integration
1414
)

tests/integration/bulk_upsert/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_ydb_test(NAME bulk_upsert_it GTEST
55
bulk_upsert.h
66
LINK_LIBRARIES
77
yutil
8-
ydb-cpp-sdk::Table
8+
YDB-CPP-SDK::Table
99
LABELS
1010
integration
1111
)

tests/integration/server_restart/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ add_ydb_test(NAME server_restart_it GTEST
44
LINK_LIBRARIES
55
yutil
66
api-grpc
7-
ydb-cpp-sdk::Query
7+
YDB-CPP-SDK::Query
88
gRPC::grpc++
99
LABELS
1010
integration

tests/integration/sessions/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ add_ydb_test(NAME sessions_it GTEST
33
main.cpp
44
LINK_LIBRARIES
55
yutil
6-
ydb-cpp-sdk::Table
7-
ydb-cpp-sdk::Query
6+
YDB-CPP-SDK::Table
7+
YDB-CPP-SDK::Query
88
api-grpc
99
grpc-client
1010
LABELS

tests/integration/sessions_pool/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_ydb_test(NAME sessions_pool_it GTEST
33
main.cpp
44
LINK_LIBRARIES
55
yutil
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
api-grpc
88
LABELS
99
integration

tests/integration/topic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_ydb_test(NAME topic_it GTEST
33
basic_usage.cpp
44
LINK_LIBRARIES
55
yutil
6-
ydb-cpp-sdk::Topic
6+
YDB-CPP-SDK::Topic
77
cpp-client-ydb_persqueue_public
88
api-grpc
99
LABELS

tests/unit/client/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_ydb_test(NAME client-ydb_coordination_ut
33
coordination/coordination_ut.cpp
44
LINK_LIBRARIES
55
yutil
6-
ydb-cpp-sdk::Coordination
6+
YDB-CPP-SDK::Coordination
77
api-grpc
88
LABELS
99
unit
@@ -14,8 +14,8 @@ add_ydb_test(NAME client-extensions-discovery_mutator_ut
1414
discovery_mutator/discovery_mutator_ut.cpp
1515
LINK_LIBRARIES
1616
yutil
17-
ydb-cpp-sdk::DiscoveryMutator
18-
ydb-cpp-sdk::Table
17+
YDB-CPP-SDK::DiscoveryMutator
18+
YDB-CPP-SDK::Table
1919
LABELS
2020
unit
2121
)
@@ -25,8 +25,8 @@ add_ydb_test(NAME client-ydb_driver_ut
2525
driver/driver_ut.cpp
2626
LINK_LIBRARIES
2727
yutil
28-
ydb-cpp-sdk::Driver
29-
ydb-cpp-sdk::Table
28+
YDB-CPP-SDK::Driver
29+
YDB-CPP-SDK::Table
3030
LABELS
3131
unit
3232
)
@@ -62,7 +62,7 @@ add_ydb_test(NAME client-ydb_params_ut GTEST
6262
params/params_ut.cpp
6363
LINK_LIBRARIES
6464
yutil
65-
ydb-cpp-sdk::Params
65+
YDB-CPP-SDK::Params
6666
LABELS
6767
unit
6868
)
@@ -72,8 +72,8 @@ add_ydb_test(NAME client-ydb_result_ut
7272
result/result_ut.cpp
7373
LINK_LIBRARIES
7474
yutil
75-
ydb-cpp-sdk::Result
76-
ydb-cpp-sdk::Params
75+
YDB-CPP-SDK::Result
76+
YDB-CPP-SDK::Params
7777
LABELS
7878
unit
7979
)
@@ -83,8 +83,8 @@ add_ydb_test(NAME client-ydb_value_ut GTEST
8383
value/value_ut.cpp
8484
LINK_LIBRARIES
8585
yutil
86-
ydb-cpp-sdk::Value
87-
ydb-cpp-sdk::Params
86+
YDB-CPP-SDK::Value
87+
YDB-CPP-SDK::Params
8888
LABELS
8989
unit
9090
)

0 commit comments

Comments
 (0)