Skip to content

Commit 6a93183

Browse files
committed
some name
1 parent 0e18daf commit 6a93183

File tree

16 files changed

+9
-3050
lines changed

16 files changed

+9
-3050
lines changed

cmake/common.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ endfunction()
203203
function(_ydb_sdk_validate_public_headers)
204204
file(GLOB_RECURSE allHeaders RELATIVE ${YDB_SDK_SOURCE_DIR}/include ${YDB_SDK_SOURCE_DIR}/include/ydb-cpp-sdk)
205205
file(STRINGS ${YDB_SDK_SOURCE_DIR}/cmake/public_headers.txt specialHeaders)
206+
if (NOT MSVC)
207+
list(REMOVE_ITEM specialHeaders library/cpp/deprecated/atomic/atomic_win.h)
208+
endif()
206209
list(APPEND allHeaders ${specialHeaders})
207210
file(COPY ${YDB_SDK_SOURCE_DIR}/include/ydb-cpp-sdk DESTINATION ${YDB_SDK_BINARY_DIR}/__validate_headers_dir/include)
208211
foreach(path ${specialHeaders})
@@ -217,5 +220,8 @@ function(_ydb_sdk_validate_public_headers)
217220
list(JOIN allHeaders "\n" fileContent)
218221

219222
file(WRITE ${YDB_SDK_BINARY_DIR}/__validate_headers_dir/main.cpp ${fileContent})
223+
224+
add_library(validate_public_interface MODULE ${YDB_SDK_BINARY_DIR}/__validate_headers_dir/main.cpp)
225+
target_include_directories(validate_public_interface PUBLIC ${YDB_SDK_BINARY_DIR}/__validate_headers_dir/include)
220226
endfunction()
221227

cmake/install.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ function(_ydb_sdk_install_headers ArgIncludeDir)
6666
)
6767

6868
file(STRINGS ${YDB_SDK_SOURCE_DIR}/cmake/public_headers.txt PublicHeaders)
69+
if (NOT MSVC)
70+
list(REMOVE_ITEM PublicHeaders library/cpp/deprecated/atomic/atomic_win.h)
71+
endif()
6972
list(APPEND ProtosPublicHeaders
7073
src/api/protos/ydb_federation_discovery.pb.h
7174
src/api/protos/ydb_value.pb.h

include/ydb-cpp-sdk/library/yson/consumer.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)