Skip to content

Commit bb344d0

Browse files
committed
Returned library and switched client to ol util and library
1 parent 68e047e commit bb344d0

File tree

3,436 files changed

+2760
-501327
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,436 files changed

+2760
-501327
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,18 @@ include(cmake/external_libs.cmake)
3939

4040
add_subdirectory(tools)
4141
add_subdirectory(contrib)
42+
add_subdirectory(library/cpp)
4243
add_subdirectory(src)
4344
add_subdirectory(util)
4445

4546
if (YDB_SDK_EXAMPLES)
46-
add_subdirectory(examples)
47+
#add_subdirectory(examples)
4748
endif()
4849

4950
if (YDB_SDK_TESTS)
5051
enable_testing()
51-
add_subdirectory(tests/unit)
52-
add_subdirectory(tests/integration)
52+
#add_subdirectory(tests/unit)
53+
#add_subdirectory(tests/integration)
5354
endif()
5455

5556
if (YDB_SDK_INSTALL)

cmake/common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function(resources Tgt Output)
163163
list(APPEND ResourcesList ${Key})
164164
endforeach()
165165

166-
get_built_tool_path(rescompiler_bin tools/rescompiler/bin rescompiler)
166+
get_built_tool_path(rescompiler_bin tools/rescompiler rescompiler)
167167

168168
add_custom_command(
169169
OUTPUT ${Output}

cmake/testing.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function(add_ydb_test)
7575

7676
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
7777
target_link_libraries(${YDB_TEST_NAME} PRIVATE
78-
library-cpuid_check
78+
cpuid_check
7979
)
8080
endif()
8181

examples/basic_example/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(basic_example)
22

33
target_link_libraries(basic_example PUBLIC
44
yutil
5-
library-getopt
5+
getopt
66
YDB-CPP-SDK::Table
77
)
88

@@ -16,7 +16,7 @@ vcs_info(basic_example)
1616

1717
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
1818
target_link_libraries(basic_example PUBLIC
19-
library-cpuid_check
19+
cpuid_check
2020
)
2121
endif()
2222

examples/bulk_upsert_simple/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(bulk_upsert_simple)
22

33
target_link_libraries(bulk_upsert_simple PUBLIC
44
yutil
5-
library-getopt
5+
getopt
66
YDB-CPP-SDK::Table
77
)
88

@@ -14,7 +14,7 @@ vcs_info(bulk_upsert_simple)
1414

1515
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
1616
target_link_libraries(bulk_upsert_simple PUBLIC
17-
library-cpuid_check
17+
cpuid_check
1818
)
1919
endif()
2020

examples/pagination/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(pagination)
22

33
target_link_libraries(pagination PUBLIC
44
yutil
5-
library-getopt
5+
getopt
66
YDB-CPP-SDK::Table
77
)
88

@@ -16,7 +16,7 @@ vcs_info(pagination)
1616

1717
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
1818
target_link_libraries(pagination PUBLIC
19-
library-cpuid_check
19+
cpuid_check
2020
)
2121
endif()
2222

examples/secondary_index/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(secondary_index)
22

33
target_link_libraries(secondary_index PUBLIC
44
yutil
5-
library-getopt
5+
getopt
66
YDB-CPP-SDK::Table
77
)
88

@@ -21,7 +21,7 @@ vcs_info(secondary_index)
2121

2222
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
2323
target_link_libraries(secondary_index PUBLIC
24-
library-cpuid_check
24+
cpuid_check
2525
)
2626
endif()
2727

examples/secondary_index_builtin/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(secondary_index_builtin)
22

33
target_link_libraries(secondary_index_builtin PUBLIC
44
yutil
5-
library-getopt
5+
getopt
66
YDB-CPP-SDK::Table
77
)
88

@@ -20,7 +20,7 @@ vcs_info(secondary_index_builtin)
2020

2121
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
2222
target_link_libraries(secondary_index_builtin PUBLIC
23-
library-cpuid_check
23+
cpuid_check
2424
)
2525
endif()
2626

examples/topic_reader/eventloop/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(persqueue_reader_eventloop)
33
target_link_libraries(persqueue_reader_eventloop PUBLIC
44
yutil
55
YDB-CPP-SDK::Topic
6-
library-getopt
6+
getopt
77
)
88

99
target_sources(persqueue_reader_eventloop PRIVATE
@@ -14,7 +14,7 @@ vcs_info(persqueue_reader_eventloop)
1414

1515
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
1616
target_link_libraries(persqueue_reader_eventloop PUBLIC
17-
library-cpuid_check
17+
cpuid_check
1818
)
1919
endif()
2020

examples/topic_reader/simple/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(simple_persqueue_reader)
33
target_link_libraries(simple_persqueue_reader PUBLIC
44
yutil
55
YDB-CPP-SDK::Topic
6-
library-getopt
6+
getopt
77
)
88

99
target_sources(simple_persqueue_reader PRIVATE
@@ -14,7 +14,7 @@ vcs_info(simple_persqueue_reader)
1414

1515
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
1616
target_link_libraries(simple_persqueue_reader PUBLIC
17-
library-cpuid_check
17+
cpuid_check
1818
)
1919
endif()
2020

0 commit comments

Comments
 (0)