aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
commita9e5890a07cad8cfc475223eb12855a31ec8318a (patch)
tree104d1c6ba83fb89e4373d7582c7a465c9fbbad16 /contrib/restricted/boost
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/boost')
-rw-r--r--contrib/restricted/boost/atomic/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/atomic/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/chrono/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/chrono/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/container/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/container/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/coroutine/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/coroutine/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/graph/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/graph/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/iostreams/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/iostreams/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/locale/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/locale/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/program_options/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/program_options/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/random/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/random/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/regex/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/regex/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/serialization/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/serialization/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/thread/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/thread/CMakeLists.linux.txt2
44 files changed, 44 insertions, 44 deletions
diff --git a/contrib/restricted/boost/atomic/CMakeLists.darwin.txt b/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
index bb44e55778..c7c24c5a0f 100644
--- a/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
-DBOOST_ATOMIC_SOURCE
-DBOOST_ATOMIC_USE_SSE41
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-atomic PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
diff --git a/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
index 6da198ceb7..8f1b461ecf 100644
--- a/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
-DBOOST_ATOMIC_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-atomic PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
diff --git a/contrib/restricted/boost/atomic/CMakeLists.linux.txt b/contrib/restricted/boost/atomic/CMakeLists.linux.txt
index 2ee70cf9c2..5f830a8cfa 100644
--- a/contrib/restricted/boost/atomic/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/atomic/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
-DBOOST_ATOMIC_SOURCE
-DBOOST_ATOMIC_USE_SSE41
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-atomic PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
diff --git a/contrib/restricted/boost/chrono/CMakeLists.darwin.txt b/contrib/restricted/boost/chrono/CMakeLists.darwin.txt
index 818650fded..af74091cab 100644
--- a/contrib/restricted/boost/chrono/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/chrono/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
diff --git a/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt
index 0bc63fbd7f..849cd7c215 100644
--- a/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
diff --git a/contrib/restricted/boost/chrono/CMakeLists.linux.txt b/contrib/restricted/boost/chrono/CMakeLists.linux.txt
index 0bc63fbd7f..849cd7c215 100644
--- a/contrib/restricted/boost/chrono/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/chrono/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
diff --git a/contrib/restricted/boost/container/CMakeLists.darwin.txt b/contrib/restricted/boost/container/CMakeLists.darwin.txt
index a1efaa8df8..74ef11ce7c 100644
--- a/contrib/restricted/boost/container/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/container/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-container)
target_compile_options(restricted-boost-container PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-container PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
diff --git a/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt
index 59467d219d..8478a2b475 100644
--- a/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-container)
target_compile_options(restricted-boost-container PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-container PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
diff --git a/contrib/restricted/boost/container/CMakeLists.linux.txt b/contrib/restricted/boost/container/CMakeLists.linux.txt
index 59467d219d..8478a2b475 100644
--- a/contrib/restricted/boost/container/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/container/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-container)
target_compile_options(restricted-boost-container PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-container PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt
index 2d0e3318d0..d5301afd15 100644
--- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(boost-context-fcontext_impl)
target_compile_options(boost-context-fcontext_impl PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(boost-context-fcontext_impl PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt
index c8156f04c3..49a0c3338d 100644
--- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(boost-context-fcontext_impl)
target_compile_options(boost-context-fcontext_impl PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(boost-context-fcontext_impl PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt
index c59cfb1515..21ce313ed9 100644
--- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(boost-context-fcontext_impl)
target_compile_options(boost-context-fcontext_impl PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(boost-context-fcontext_impl PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt
index 6c08263a3b..100cd01a5d 100644
--- a/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(boost-context-impl_common)
target_compile_options(boost-context-impl_common PRIVATE
-DBOOST_CONTEXT_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(boost-context-impl_common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt
index 52670b6933..06f9049883 100644
--- a/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(boost-context-impl_common)
target_compile_options(boost-context-impl_common PRIVATE
-DBOOST_CONTEXT_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(boost-context-impl_common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt
index 52670b6933..06f9049883 100644
--- a/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(boost-context-impl_common)
target_compile_options(boost-context-impl_common PRIVATE
-DBOOST_CONTEXT_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(boost-context-impl_common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
diff --git a/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt b/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt
index f002bcd901..078b319b34 100644
--- a/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-boost-coroutine PUBLIC
)
target_compile_options(restricted-boost-coroutine PRIVATE
-DBOOST_COROUTINES_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-coroutine PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
diff --git a/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt
index 4a6ba8c546..d91726a632 100644
--- a/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-boost-coroutine PUBLIC
)
target_compile_options(restricted-boost-coroutine PRIVATE
-DBOOST_COROUTINES_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-coroutine PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
diff --git a/contrib/restricted/boost/coroutine/CMakeLists.linux.txt b/contrib/restricted/boost/coroutine/CMakeLists.linux.txt
index 4a6ba8c546..d91726a632 100644
--- a/contrib/restricted/boost/coroutine/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/coroutine/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-boost-coroutine PUBLIC
)
target_compile_options(restricted-boost-coroutine PRIVATE
-DBOOST_COROUTINES_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-coroutine PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
diff --git a/contrib/restricted/boost/exception/CMakeLists.darwin.txt b/contrib/restricted/boost/exception/CMakeLists.darwin.txt
index ce717e642c..bd4347f03d 100644
--- a/contrib/restricted/boost/exception/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/exception/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-exception)
target_compile_options(restricted-boost-exception PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-exception PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
diff --git a/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt
index bf09d9952d..b818e6d085 100644
--- a/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-exception)
target_compile_options(restricted-boost-exception PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-exception PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
diff --git a/contrib/restricted/boost/exception/CMakeLists.linux.txt b/contrib/restricted/boost/exception/CMakeLists.linux.txt
index bf09d9952d..b818e6d085 100644
--- a/contrib/restricted/boost/exception/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/exception/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-exception)
target_compile_options(restricted-boost-exception PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-exception PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
diff --git a/contrib/restricted/boost/graph/CMakeLists.darwin.txt b/contrib/restricted/boost/graph/CMakeLists.darwin.txt
index ef6546905c..9118ce39b6 100644
--- a/contrib/restricted/boost/graph/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/graph/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-graph)
target_compile_options(restricted-boost-graph PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-graph PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include
diff --git a/contrib/restricted/boost/graph/CMakeLists.linux.txt b/contrib/restricted/boost/graph/CMakeLists.linux.txt
index 59c02cb209..fd2c3cf33b 100644
--- a/contrib/restricted/boost/graph/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/graph/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-graph)
target_compile_options(restricted-boost-graph PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-graph PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include
diff --git a/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt b/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt
index 5f3900f0fc..ecd5b2a38d 100644
--- a/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ find_package(ZLIB REQUIRED)
add_library(restricted-boost-iostreams)
target_compile_options(restricted-boost-iostreams PRIVATE
-DBOOST_IOSTREAMS_USE_DEPRECATED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-iostreams PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include
diff --git a/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt
index 7052d16f16..1d1e246dae 100644
--- a/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ find_package(ZLIB REQUIRED)
add_library(restricted-boost-iostreams)
target_compile_options(restricted-boost-iostreams PRIVATE
-DBOOST_IOSTREAMS_USE_DEPRECATED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-iostreams PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include
diff --git a/contrib/restricted/boost/iostreams/CMakeLists.linux.txt b/contrib/restricted/boost/iostreams/CMakeLists.linux.txt
index 7052d16f16..1d1e246dae 100644
--- a/contrib/restricted/boost/iostreams/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/iostreams/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ find_package(ZLIB REQUIRED)
add_library(restricted-boost-iostreams)
target_compile_options(restricted-boost-iostreams PRIVATE
-DBOOST_IOSTREAMS_USE_DEPRECATED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-iostreams PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include
diff --git a/contrib/restricted/boost/locale/CMakeLists.darwin.txt b/contrib/restricted/boost/locale/CMakeLists.darwin.txt
index 5287fd395e..8e8b149e50 100644
--- a/contrib/restricted/boost/locale/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/locale/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-locale)
target_compile_options(restricted-boost-locale PRIVATE
-DBOOST_LOCALE_WITH_ICU
-DBOOST_LOCALE_NO_WINAPI_BACKEND
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-locale PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include
diff --git a/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt
index 435dc56508..831330fafc 100644
--- a/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-locale)
target_compile_options(restricted-boost-locale PRIVATE
-DBOOST_LOCALE_WITH_ICU
-DBOOST_LOCALE_NO_WINAPI_BACKEND
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-locale PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include
diff --git a/contrib/restricted/boost/locale/CMakeLists.linux.txt b/contrib/restricted/boost/locale/CMakeLists.linux.txt
index 435dc56508..831330fafc 100644
--- a/contrib/restricted/boost/locale/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/locale/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-locale)
target_compile_options(restricted-boost-locale PRIVATE
-DBOOST_LOCALE_WITH_ICU
-DBOOST_LOCALE_NO_WINAPI_BACKEND
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-locale PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include
diff --git a/contrib/restricted/boost/program_options/CMakeLists.darwin.txt b/contrib/restricted/boost/program_options/CMakeLists.darwin.txt
index e6d6184a47..c91dfc15c5 100644
--- a/contrib/restricted/boost/program_options/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/program_options/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-program_options)
target_compile_options(restricted-boost-program_options PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-program_options PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include
diff --git a/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt
index ea86a32d2a..1bd268a977 100644
--- a/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-program_options)
target_compile_options(restricted-boost-program_options PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-program_options PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include
diff --git a/contrib/restricted/boost/program_options/CMakeLists.linux.txt b/contrib/restricted/boost/program_options/CMakeLists.linux.txt
index ea86a32d2a..1bd268a977 100644
--- a/contrib/restricted/boost/program_options/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/program_options/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-program_options)
target_compile_options(restricted-boost-program_options PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-program_options PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include
diff --git a/contrib/restricted/boost/random/CMakeLists.darwin.txt b/contrib/restricted/boost/random/CMakeLists.darwin.txt
index fbaeddaaa0..647aa94668 100644
--- a/contrib/restricted/boost/random/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/random/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-random)
target_compile_options(restricted-boost-random PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-random PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include
diff --git a/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt
index dd72204f90..23ae6c6152 100644
--- a/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-random)
target_compile_options(restricted-boost-random PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-random PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include
diff --git a/contrib/restricted/boost/random/CMakeLists.linux.txt b/contrib/restricted/boost/random/CMakeLists.linux.txt
index dd72204f90..23ae6c6152 100644
--- a/contrib/restricted/boost/random/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/random/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-random)
target_compile_options(restricted-boost-random PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-random PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include
diff --git a/contrib/restricted/boost/regex/CMakeLists.darwin.txt b/contrib/restricted/boost/regex/CMakeLists.darwin.txt
index 7249a02715..b0c67b4c88 100644
--- a/contrib/restricted/boost/regex/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/regex/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-regex)
target_compile_options(restricted-boost-regex PRIVATE
-DBOOST_HAS_ICU
-DBOOST_NO_CXX98_BINDERS
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-regex PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include
diff --git a/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt
index dae13bda83..554805be78 100644
--- a/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-regex)
target_compile_options(restricted-boost-regex PRIVATE
-DBOOST_HAS_ICU
-DBOOST_NO_CXX98_BINDERS
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-regex PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include
diff --git a/contrib/restricted/boost/regex/CMakeLists.linux.txt b/contrib/restricted/boost/regex/CMakeLists.linux.txt
index dae13bda83..554805be78 100644
--- a/contrib/restricted/boost/regex/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/regex/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-regex)
target_compile_options(restricted-boost-regex PRIVATE
-DBOOST_HAS_ICU
-DBOOST_NO_CXX98_BINDERS
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-regex PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include
diff --git a/contrib/restricted/boost/serialization/CMakeLists.darwin.txt b/contrib/restricted/boost/serialization/CMakeLists.darwin.txt
index 9e600c2b80..52603eb79d 100644
--- a/contrib/restricted/boost/serialization/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/serialization/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-serialization)
target_compile_options(restricted-boost-serialization PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-serialization PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/serialization/include
diff --git a/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt
index 9ac87d57db..43d01c0ab0 100644
--- a/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-serialization)
target_compile_options(restricted-boost-serialization PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-serialization PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/serialization/include
diff --git a/contrib/restricted/boost/serialization/CMakeLists.linux.txt b/contrib/restricted/boost/serialization/CMakeLists.linux.txt
index 9ac87d57db..43d01c0ab0 100644
--- a/contrib/restricted/boost/serialization/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/serialization/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-serialization)
target_compile_options(restricted-boost-serialization PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-serialization PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/serialization/include
diff --git a/contrib/restricted/boost/thread/CMakeLists.darwin.txt b/contrib/restricted/boost/thread/CMakeLists.darwin.txt
index 064c029f62..683da25426 100644
--- a/contrib/restricted/boost/thread/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/thread/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-boost-thread PUBLIC
target_compile_options(restricted-boost-thread PRIVATE
-DBOOST_THREAD_BUILD_LIB
-DBOOST_THREAD_DONT_USE_CHRONO
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-thread PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include
diff --git a/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt
index ff651659fb..ee0e2e1fcc 100644
--- a/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-boost-thread PUBLIC
target_compile_options(restricted-boost-thread PRIVATE
-DBOOST_THREAD_BUILD_LIB
-DBOOST_THREAD_DONT_USE_CHRONO
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-thread PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include
diff --git a/contrib/restricted/boost/thread/CMakeLists.linux.txt b/contrib/restricted/boost/thread/CMakeLists.linux.txt
index ff651659fb..ee0e2e1fcc 100644
--- a/contrib/restricted/boost/thread/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/thread/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-boost-thread PUBLIC
target_compile_options(restricted-boost-thread PRIVATE
-DBOOST_THREAD_BUILD_LIB
-DBOOST_THREAD_DONT_USE_CHRONO
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-thread PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include