aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
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/libs
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/antlr3_cpp_runtime/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/antlr3_cpp_runtime/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/antlr3_cpp_runtime/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/apache/arrow/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/apache/arrow/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/apache/avro/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/apache/avro/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/apache/orc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/apache/orc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/brotli/common/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/brotli/common/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/brotli/dec/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/brotli/dec/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/brotli/enc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/brotli/enc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/cctz/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/cctz/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/cctz/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/crcutil/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/crcutil/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/crcutil/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/curl/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/curl/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/curl/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxx/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxx/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxx/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxrt/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/double-conversion/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/double-conversion/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/double-conversion/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/expat/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/expat/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/expat/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/farmhash/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/farmhash/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/farmhash/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse41/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse41/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse41/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/fastlz/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/fastlz/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/fastlz/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/fmt/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/fmt/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/fmt/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/grpc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/grpc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/grpc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/grpc/third_party/address_sorting/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/grpc/third_party/upb/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/grpc/third_party/upb/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/grpc/third_party/upb/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hdr_histogram/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/hdr_histogram/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/hdr_histogram/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/highwayhash/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/highwayhash/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hyperscan/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/hyperscan/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_core2/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_core2/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/icu/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/icu/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/icu/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/jemalloc/CMakeLists.darwin.txt4
-rw-r--r--contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/jemalloc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libbz2/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libbz2/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libbz2/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libc_compat/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libc_compat/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libevent/event_core/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libevent/event_core/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libevent/event_extra/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libevent/event_extra/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libevent/event_extra/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libevent/event_openssl/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libevent/event_openssl/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libevent/event_openssl/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libevent/event_thread/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libevent/event_thread/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libevent/event_thread/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libfyaml/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libfyaml/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libfyaml/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/liburing/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/liburing/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/libxml/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libxml/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libxml/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/linuxvdso/original/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Analysis/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Analysis/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Analysis/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/AsmParser/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Demangle/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Demangle/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Demangle/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/IR/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/IR/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/IR/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/IRReader/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/IRReader/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/IRReader/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Linker/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Linker/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Linker/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Object/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Object/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Object/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/ProfileData/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Remarks/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Remarks/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Remarks/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/TableGen/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/TableGen/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/TableGen/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/lua/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/lua/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/lua/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/lzma/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/lzma/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/lzma/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/nghttp2/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/nghttp2/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/nghttp2/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/pcre/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/pcre/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/pcre/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/pcre/pcre16/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/pcre/pcre16/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/pcre/pcre16/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/pcre/pcre32/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/pcre/pcre32/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/pcre/pcre32/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/Crypto/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/Crypto/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/Foundation/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/Foundation/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/Net/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/Net/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/Util/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/Util/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/poco/XML/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/poco/XML/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/protobuf/CMakeLists.darwin.txt4
-rw-r--r--contrib/libs/protobuf/CMakeLists.linux-aarch64.txt4
-rw-r--r--contrib/libs/protobuf/CMakeLists.linux.txt4
-rw-r--r--contrib/libs/protoc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/protoc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/protoc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/re2/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/re2/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/re2/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/snappy/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/snappy/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/snappy/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/t1ha/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/t1ha/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/t1ha/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/tbb/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/tbb/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/tbb/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt4
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.linux.txt4
-rw-r--r--contrib/libs/tcmalloc/malloc_extension/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/tcmalloc/no_percpu_cache/CMakeLists.linux.txt4
-rw-r--r--contrib/libs/utf8proc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/utf8proc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/utf8proc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/xxhash/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/xxhash/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/xxhash/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/zstd/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/zstd/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/zstd/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/zstd06/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/zstd06/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/zstd06/CMakeLists.linux.txt2
362 files changed, 369 insertions, 369 deletions
diff --git a/contrib/libs/antlr3_cpp_runtime/CMakeLists.darwin.txt b/contrib/libs/antlr3_cpp_runtime/CMakeLists.darwin.txt
index d144df133c..8818693c62 100644
--- a/contrib/libs/antlr3_cpp_runtime/CMakeLists.darwin.txt
+++ b/contrib/libs/antlr3_cpp_runtime/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-antlr3_cpp_runtime)
target_compile_options(contrib-libs-antlr3_cpp_runtime PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-antlr3_cpp_runtime PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/antlr3_cpp_runtime/include
diff --git a/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux-aarch64.txt b/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux-aarch64.txt
index a61e7837dd..e8fba8e636 100644
--- a/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-antlr3_cpp_runtime)
target_compile_options(contrib-libs-antlr3_cpp_runtime PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-antlr3_cpp_runtime PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/antlr3_cpp_runtime/include
diff --git a/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux.txt b/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux.txt
index a61e7837dd..e8fba8e636 100644
--- a/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux.txt
+++ b/contrib/libs/antlr3_cpp_runtime/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-antlr3_cpp_runtime)
target_compile_options(contrib-libs-antlr3_cpp_runtime PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-antlr3_cpp_runtime PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/antlr3_cpp_runtime/include
diff --git a/contrib/libs/apache/arrow/CMakeLists.darwin.txt b/contrib/libs/apache/arrow/CMakeLists.darwin.txt
index 05b643d1ec..dba4c90c1f 100644
--- a/contrib/libs/apache/arrow/CMakeLists.darwin.txt
+++ b/contrib/libs/apache/arrow/CMakeLists.darwin.txt
@@ -28,7 +28,7 @@ target_compile_options(libs-apache-arrow PRIVATE
-DPARQUET_EXPORTING
-DURI_STATIC_BUILD
-DHAVE_NETINET_IN_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-arrow PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src
diff --git a/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt b/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt
index 2d93aa5a60..b638c396ed 100644
--- a/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt
@@ -28,7 +28,7 @@ target_compile_options(libs-apache-arrow PRIVATE
-DPARQUET_EXPORTING
-DURI_STATIC_BUILD
-DHAVE_NETINET_IN_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-arrow PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src
diff --git a/contrib/libs/apache/arrow/CMakeLists.linux.txt b/contrib/libs/apache/arrow/CMakeLists.linux.txt
index 2d93aa5a60..b638c396ed 100644
--- a/contrib/libs/apache/arrow/CMakeLists.linux.txt
+++ b/contrib/libs/apache/arrow/CMakeLists.linux.txt
@@ -28,7 +28,7 @@ target_compile_options(libs-apache-arrow PRIVATE
-DPARQUET_EXPORTING
-DURI_STATIC_BUILD
-DHAVE_NETINET_IN_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-arrow PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src
diff --git a/contrib/libs/apache/avro/CMakeLists.darwin.txt b/contrib/libs/apache/avro/CMakeLists.darwin.txt
index 46dbb79110..303febcc15 100644
--- a/contrib/libs/apache/avro/CMakeLists.darwin.txt
+++ b/contrib/libs/apache/avro/CMakeLists.darwin.txt
@@ -19,7 +19,7 @@ target_compile_options(libs-apache-avro PRIVATE
-DBOOST_REGEX_DYN_LINK
-DBOOST_SYSTEM_DYN_LINK
-DSNAPPY_CODEC_AVAILABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-avro PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api
diff --git a/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt b/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt
index d5a801c6d7..214360c135 100644
--- a/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt
@@ -19,7 +19,7 @@ target_compile_options(libs-apache-avro PRIVATE
-DBOOST_REGEX_DYN_LINK
-DBOOST_SYSTEM_DYN_LINK
-DSNAPPY_CODEC_AVAILABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-avro PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api
diff --git a/contrib/libs/apache/avro/CMakeLists.linux.txt b/contrib/libs/apache/avro/CMakeLists.linux.txt
index d5a801c6d7..214360c135 100644
--- a/contrib/libs/apache/avro/CMakeLists.linux.txt
+++ b/contrib/libs/apache/avro/CMakeLists.linux.txt
@@ -19,7 +19,7 @@ target_compile_options(libs-apache-avro PRIVATE
-DBOOST_REGEX_DYN_LINK
-DBOOST_SYSTEM_DYN_LINK
-DSNAPPY_CODEC_AVAILABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-avro PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api
diff --git a/contrib/libs/apache/orc/CMakeLists.darwin.txt b/contrib/libs/apache/orc/CMakeLists.darwin.txt
index e4facddb81..8cbea4aeb8 100644
--- a/contrib/libs/apache/orc/CMakeLists.darwin.txt
+++ b/contrib/libs/apache/orc/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(libs-apache-orc)
target_compile_options(libs-apache-orc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-orc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include
diff --git a/contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt b/contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt
index a8443547cc..5a76ebf642 100644
--- a/contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(libs-apache-orc)
target_compile_options(libs-apache-orc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-orc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include
diff --git a/contrib/libs/apache/orc/CMakeLists.linux.txt b/contrib/libs/apache/orc/CMakeLists.linux.txt
index a8443547cc..5a76ebf642 100644
--- a/contrib/libs/apache/orc/CMakeLists.linux.txt
+++ b/contrib/libs/apache/orc/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(libs-apache-orc)
target_compile_options(libs-apache-orc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-apache-orc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.darwin.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.darwin.txt
index fe44f3d04c..0330c951be 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.darwin.txt
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.darwin.txt
@@ -37,7 +37,7 @@ target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-core PRIVATE
-DS2N_KYBER512R3_AVX2_BMI2
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-aws-sdk-cpp-aws-cpp-sdk-core PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux-aarch64.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux-aarch64.txt
index 4cd52c4c77..fc60527db3 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux-aarch64.txt
@@ -37,7 +37,7 @@ target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-core PRIVATE
-DS2N_KYBER512R3_AVX2_BMI2
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-aws-sdk-cpp-aws-cpp-sdk-core PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux.txt
index 4cd52c4c77..fc60527db3 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux.txt
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.linux.txt
@@ -37,7 +37,7 @@ target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-core PRIVATE
-DS2N_KYBER512R3_AVX2_BMI2
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-aws-sdk-cpp-aws-cpp-sdk-core PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.darwin.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.darwin.txt
index 9fcf24d815..1b1705649a 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.darwin.txt
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.darwin.txt
@@ -33,7 +33,7 @@ target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-s3 PRIVATE
-DS2N_KYBER512R3_AVX2_BMI2
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-aws-sdk-cpp-aws-cpp-sdk-s3 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux-aarch64.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux-aarch64.txt
index fb1657a6bb..114aa69426 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux-aarch64.txt
@@ -33,7 +33,7 @@ target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-s3 PRIVATE
-DS2N_KYBER512R3_AVX2_BMI2
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-aws-sdk-cpp-aws-cpp-sdk-s3 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux.txt
index fb1657a6bb..114aa69426 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux.txt
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/CMakeLists.linux.txt
@@ -33,7 +33,7 @@ target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-s3 PRIVATE
-DS2N_KYBER512R3_AVX2_BMI2
-DS2N_SIKE_P434_R3_ASM
-DS2N___RESTRICT__SUPPORTED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-aws-sdk-cpp-aws-cpp-sdk-s3 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include
diff --git a/contrib/libs/brotli/common/CMakeLists.darwin.txt b/contrib/libs/brotli/common/CMakeLists.darwin.txt
index 493d1aa481..0acd28e7cd 100644
--- a/contrib/libs/brotli/common/CMakeLists.darwin.txt
+++ b/contrib/libs/brotli/common/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-common)
target_compile_options(libs-brotli-common PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt b/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt
index b270055def..f40a7896b9 100644
--- a/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-common)
target_compile_options(libs-brotli-common PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/common/CMakeLists.linux.txt b/contrib/libs/brotli/common/CMakeLists.linux.txt
index b270055def..f40a7896b9 100644
--- a/contrib/libs/brotli/common/CMakeLists.linux.txt
+++ b/contrib/libs/brotli/common/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-common)
target_compile_options(libs-brotli-common PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/dec/CMakeLists.darwin.txt b/contrib/libs/brotli/dec/CMakeLists.darwin.txt
index 42b8ff8dde..5d11acad56 100644
--- a/contrib/libs/brotli/dec/CMakeLists.darwin.txt
+++ b/contrib/libs/brotli/dec/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(libs-brotli-dec)
target_compile_options(libs-brotli-dec PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-dec PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt b/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt
index 7d63a5712a..6283846aef 100644
--- a/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(libs-brotli-dec)
target_compile_options(libs-brotli-dec PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-dec PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/dec/CMakeLists.linux.txt b/contrib/libs/brotli/dec/CMakeLists.linux.txt
index 7d63a5712a..6283846aef 100644
--- a/contrib/libs/brotli/dec/CMakeLists.linux.txt
+++ b/contrib/libs/brotli/dec/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(libs-brotli-dec)
target_compile_options(libs-brotli-dec PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-dec PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/enc/CMakeLists.darwin.txt b/contrib/libs/brotli/enc/CMakeLists.darwin.txt
index a813b34bd6..297dae7533 100644
--- a/contrib/libs/brotli/enc/CMakeLists.darwin.txt
+++ b/contrib/libs/brotli/enc/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt b/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt
index 2252f70be1..1fd39e4120 100644
--- a/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/enc/CMakeLists.linux.txt b/contrib/libs/brotli/enc/CMakeLists.linux.txt
index 2252f70be1..1fd39e4120 100644
--- a/contrib/libs/brotli/enc/CMakeLists.linux.txt
+++ b/contrib/libs/brotli/enc/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/cctz/CMakeLists.darwin.txt b/contrib/libs/cctz/CMakeLists.darwin.txt
index 18d130efd5..a4e9994f8a 100644
--- a/contrib/libs/cctz/CMakeLists.darwin.txt
+++ b/contrib/libs/cctz/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ add_subdirectory(tzdata)
add_library(contrib-libs-cctz)
target_compile_options(contrib-libs-cctz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-cctz PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include
diff --git a/contrib/libs/cctz/CMakeLists.linux-aarch64.txt b/contrib/libs/cctz/CMakeLists.linux-aarch64.txt
index f6eb41f0a4..5d6f6aabc8 100644
--- a/contrib/libs/cctz/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/cctz/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ add_subdirectory(tzdata)
add_library(contrib-libs-cctz)
target_compile_options(contrib-libs-cctz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-cctz PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include
diff --git a/contrib/libs/cctz/CMakeLists.linux.txt b/contrib/libs/cctz/CMakeLists.linux.txt
index f6eb41f0a4..5d6f6aabc8 100644
--- a/contrib/libs/cctz/CMakeLists.linux.txt
+++ b/contrib/libs/cctz/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ add_subdirectory(tzdata)
add_library(contrib-libs-cctz)
target_compile_options(contrib-libs-cctz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-cctz PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include
diff --git a/contrib/libs/crcutil/CMakeLists.darwin.txt b/contrib/libs/crcutil/CMakeLists.darwin.txt
index ace85024b0..0f492532e9 100644
--- a/contrib/libs/crcutil/CMakeLists.darwin.txt
+++ b/contrib/libs/crcutil/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-crcutil)
target_compile_options(contrib-libs-crcutil PRIVATE
-DCRCUTIL_USE_MM_CRC32=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-crcutil PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/crcutil/CMakeLists.linux-aarch64.txt b/contrib/libs/crcutil/CMakeLists.linux-aarch64.txt
index 81895d1a9d..e66a241630 100644
--- a/contrib/libs/crcutil/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/crcutil/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-crcutil)
target_compile_options(contrib-libs-crcutil PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-crcutil PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/crcutil/CMakeLists.linux.txt b/contrib/libs/crcutil/CMakeLists.linux.txt
index 962915e80f..24b6c4fac2 100644
--- a/contrib/libs/crcutil/CMakeLists.linux.txt
+++ b/contrib/libs/crcutil/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-crcutil)
target_compile_options(contrib-libs-crcutil PRIVATE
-DCRCUTIL_USE_MM_CRC32=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-crcutil PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/curl/CMakeLists.darwin.txt b/contrib/libs/curl/CMakeLists.darwin.txt
index 2d5ff549ce..7a5fb60835 100644
--- a/contrib/libs/curl/CMakeLists.darwin.txt
+++ b/contrib/libs/curl/CMakeLists.darwin.txt
@@ -18,7 +18,7 @@ target_compile_options(contrib-libs-curl PRIVATE
-DBUILDING_LIBCURL
-DHAVE_CONFIG_H
-DARCADIA_CURL_DNS_RESOLVER_ARES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-curl PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/curl/include
diff --git a/contrib/libs/curl/CMakeLists.linux-aarch64.txt b/contrib/libs/curl/CMakeLists.linux-aarch64.txt
index f86ca681e2..5609bd43b3 100644
--- a/contrib/libs/curl/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/curl/CMakeLists.linux-aarch64.txt
@@ -18,7 +18,7 @@ target_compile_options(contrib-libs-curl PRIVATE
-DBUILDING_LIBCURL
-DHAVE_CONFIG_H
-DARCADIA_CURL_DNS_RESOLVER_ARES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-curl PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/curl/include
diff --git a/contrib/libs/curl/CMakeLists.linux.txt b/contrib/libs/curl/CMakeLists.linux.txt
index f86ca681e2..5609bd43b3 100644
--- a/contrib/libs/curl/CMakeLists.linux.txt
+++ b/contrib/libs/curl/CMakeLists.linux.txt
@@ -18,7 +18,7 @@ target_compile_options(contrib-libs-curl PRIVATE
-DBUILDING_LIBCURL
-DHAVE_CONFIG_H
-DARCADIA_CURL_DNS_RESOLVER_ARES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-curl PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/curl/include
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
index 0a536a4d4f..dfe59125b5 100644
--- a/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(libs-cxxsupp-builtins)
target_compile_options(libs-cxxsupp-builtins PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_sources(libs-cxxsupp-builtins PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt
index 4f877ff033..f220787c33 100644
--- a/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(libs-cxxsupp-builtins)
target_compile_options(libs-cxxsupp-builtins PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(libs-cxxsupp-builtins PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
index 7cf0bc2658..b4d38acc9d 100644
--- a/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(libs-cxxsupp-builtins)
target_compile_options(libs-cxxsupp-builtins PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(libs-cxxsupp-builtins PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/cxxsupp/libcxx/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/libcxx/CMakeLists.darwin.txt
index 3f24ad5a2e..b1aef2a37a 100644
--- a/contrib/libs/cxxsupp/libcxx/CMakeLists.darwin.txt
+++ b/contrib/libs/cxxsupp/libcxx/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-cxxsupp-libcxx PUBLIC
)
target_compile_options(libs-cxxsupp-libcxx PRIVATE
-D_LIBCPP_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxx PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include
diff --git a/contrib/libs/cxxsupp/libcxx/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/libcxx/CMakeLists.linux-aarch64.txt
index a412ee1676..edaf849b79 100644
--- a/contrib/libs/cxxsupp/libcxx/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/cxxsupp/libcxx/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-cxxsupp-libcxx PUBLIC
)
target_compile_options(libs-cxxsupp-libcxx PRIVATE
-D_LIBCPP_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxx PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include
diff --git a/contrib/libs/cxxsupp/libcxx/CMakeLists.linux.txt b/contrib/libs/cxxsupp/libcxx/CMakeLists.linux.txt
index a412ee1676..edaf849b79 100644
--- a/contrib/libs/cxxsupp/libcxx/CMakeLists.linux.txt
+++ b/contrib/libs/cxxsupp/libcxx/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-cxxsupp-libcxx PUBLIC
)
target_compile_options(libs-cxxsupp-libcxx PRIVATE
-D_LIBCPP_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxx PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt
index b44c0039fe..22f534fcdd 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt
index e96e9622ab..dfbe9eea43 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt
index a99ea85123..144c793693 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
diff --git a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.darwin.txt
index d6c648b184..1a5dff5718 100644
--- a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.darwin.txt
+++ b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-cxxsupp-libcxxrt)
target_compile_options(libs-cxxsupp-libcxxrt PRIVATE
-nostdinc++
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxrt PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxrt
diff --git a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux-aarch64.txt
index 291d110e0e..e6b6dbf847 100644
--- a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-cxxsupp-libcxxrt)
target_compile_options(libs-cxxsupp-libcxxrt PRIVATE
-nostdinc++
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxrt PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxrt
diff --git a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux.txt b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux.txt
index 291d110e0e..e6b6dbf847 100644
--- a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux.txt
+++ b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-cxxsupp-libcxxrt)
target_compile_options(libs-cxxsupp-libcxxrt PRIVATE
-nostdinc++
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxrt PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxrt
diff --git a/contrib/libs/double-conversion/CMakeLists.darwin.txt b/contrib/libs/double-conversion/CMakeLists.darwin.txt
index 8c2f8738bf..69a5bc6b49 100644
--- a/contrib/libs/double-conversion/CMakeLists.darwin.txt
+++ b/contrib/libs/double-conversion/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-double-conversion)
target_compile_options(contrib-libs-double-conversion PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-double-conversion PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion
diff --git a/contrib/libs/double-conversion/CMakeLists.linux-aarch64.txt b/contrib/libs/double-conversion/CMakeLists.linux-aarch64.txt
index 608c3652ea..7599b38c4d 100644
--- a/contrib/libs/double-conversion/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/double-conversion/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-double-conversion)
target_compile_options(contrib-libs-double-conversion PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-double-conversion PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion
diff --git a/contrib/libs/double-conversion/CMakeLists.linux.txt b/contrib/libs/double-conversion/CMakeLists.linux.txt
index 608c3652ea..7599b38c4d 100644
--- a/contrib/libs/double-conversion/CMakeLists.linux.txt
+++ b/contrib/libs/double-conversion/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-double-conversion)
target_compile_options(contrib-libs-double-conversion PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-double-conversion PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion
diff --git a/contrib/libs/expat/CMakeLists.darwin.txt b/contrib/libs/expat/CMakeLists.darwin.txt
index 867e5f7b5a..374256f11f 100644
--- a/contrib/libs/expat/CMakeLists.darwin.txt
+++ b/contrib/libs/expat/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-expat)
target_compile_options(contrib-libs-expat PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-expat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/expat
diff --git a/contrib/libs/expat/CMakeLists.linux-aarch64.txt b/contrib/libs/expat/CMakeLists.linux-aarch64.txt
index 3abb7a0372..6962df9bdb 100644
--- a/contrib/libs/expat/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/expat/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-expat)
target_compile_options(contrib-libs-expat PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-expat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/expat
diff --git a/contrib/libs/expat/CMakeLists.linux.txt b/contrib/libs/expat/CMakeLists.linux.txt
index 3abb7a0372..6962df9bdb 100644
--- a/contrib/libs/expat/CMakeLists.linux.txt
+++ b/contrib/libs/expat/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-expat)
target_compile_options(contrib-libs-expat PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-expat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/expat
diff --git a/contrib/libs/farmhash/CMakeLists.darwin.txt b/contrib/libs/farmhash/CMakeLists.darwin.txt
index 45124fdae8..aeb7bb29c0 100644
--- a/contrib/libs/farmhash/CMakeLists.darwin.txt
+++ b/contrib/libs/farmhash/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ add_subdirectory(arch)
add_library(contrib-libs-farmhash)
target_compile_options(contrib-libs-farmhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-farmhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/include
diff --git a/contrib/libs/farmhash/CMakeLists.linux-aarch64.txt b/contrib/libs/farmhash/CMakeLists.linux-aarch64.txt
index 87c940e8dc..e4fa621f99 100644
--- a/contrib/libs/farmhash/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/farmhash/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ add_subdirectory(arch)
add_library(contrib-libs-farmhash)
target_compile_options(contrib-libs-farmhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-farmhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/include
diff --git a/contrib/libs/farmhash/CMakeLists.linux.txt b/contrib/libs/farmhash/CMakeLists.linux.txt
index 87c940e8dc..e4fa621f99 100644
--- a/contrib/libs/farmhash/CMakeLists.linux.txt
+++ b/contrib/libs/farmhash/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ add_subdirectory(arch)
add_library(contrib-libs-farmhash)
target_compile_options(contrib-libs-farmhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-farmhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/include
diff --git a/contrib/libs/farmhash/arch/sse41/CMakeLists.darwin.txt b/contrib/libs/farmhash/arch/sse41/CMakeLists.darwin.txt
index d618606ba5..921c50874e 100644
--- a/contrib/libs/farmhash/arch/sse41/CMakeLists.darwin.txt
+++ b/contrib/libs/farmhash/arch/sse41/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(farmhash-arch-sse41)
target_compile_options(farmhash-arch-sse41 PRIVATE
-msse4.1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse41 PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/farmhash/arch/sse41/CMakeLists.linux-aarch64.txt b/contrib/libs/farmhash/arch/sse41/CMakeLists.linux-aarch64.txt
index 85373edfc3..d39e6b6a78 100644
--- a/contrib/libs/farmhash/arch/sse41/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/farmhash/arch/sse41/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(farmhash-arch-sse41)
target_compile_options(farmhash-arch-sse41 PRIVATE
-msse4.1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse41 PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/farmhash/arch/sse41/CMakeLists.linux.txt b/contrib/libs/farmhash/arch/sse41/CMakeLists.linux.txt
index 85373edfc3..d39e6b6a78 100644
--- a/contrib/libs/farmhash/arch/sse41/CMakeLists.linux.txt
+++ b/contrib/libs/farmhash/arch/sse41/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(farmhash-arch-sse41)
target_compile_options(farmhash-arch-sse41 PRIVATE
-msse4.1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse41 PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/farmhash/arch/sse42/CMakeLists.darwin.txt b/contrib/libs/farmhash/arch/sse42/CMakeLists.darwin.txt
index 09ceb966ef..92f77b4d9a 100644
--- a/contrib/libs/farmhash/arch/sse42/CMakeLists.darwin.txt
+++ b/contrib/libs/farmhash/arch/sse42/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(farmhash-arch-sse42)
target_compile_options(farmhash-arch-sse42 PRIVATE
-msse4.2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42 PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/farmhash/arch/sse42/CMakeLists.linux-aarch64.txt b/contrib/libs/farmhash/arch/sse42/CMakeLists.linux-aarch64.txt
index 6b00636193..a9197f9c43 100644
--- a/contrib/libs/farmhash/arch/sse42/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/farmhash/arch/sse42/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(farmhash-arch-sse42)
target_compile_options(farmhash-arch-sse42 PRIVATE
-msse4.2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42 PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/farmhash/arch/sse42/CMakeLists.linux.txt b/contrib/libs/farmhash/arch/sse42/CMakeLists.linux.txt
index 6b00636193..a9197f9c43 100644
--- a/contrib/libs/farmhash/arch/sse42/CMakeLists.linux.txt
+++ b/contrib/libs/farmhash/arch/sse42/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(farmhash-arch-sse42)
target_compile_options(farmhash-arch-sse42 PRIVATE
-msse4.2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42 PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt
index e635439149..c73d04f960 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt
index 770ce1c80e..b0bb6a5860 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt
index 770ce1c80e..b0bb6a5860 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/fastlz/CMakeLists.darwin.txt b/contrib/libs/fastlz/CMakeLists.darwin.txt
index e43bd11e58..eab41c060a 100644
--- a/contrib/libs/fastlz/CMakeLists.darwin.txt
+++ b/contrib/libs/fastlz/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-fastlz)
target_compile_options(contrib-libs-fastlz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-fastlz PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt b/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt
index bc41572e30..e6a67c5372 100644
--- a/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-fastlz)
target_compile_options(contrib-libs-fastlz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-fastlz PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/fastlz/CMakeLists.linux.txt b/contrib/libs/fastlz/CMakeLists.linux.txt
index bc41572e30..e6a67c5372 100644
--- a/contrib/libs/fastlz/CMakeLists.linux.txt
+++ b/contrib/libs/fastlz/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-fastlz)
target_compile_options(contrib-libs-fastlz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-fastlz PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/fmt/CMakeLists.darwin.txt b/contrib/libs/fmt/CMakeLists.darwin.txt
index 42fc2270bf..a9d78d7599 100644
--- a/contrib/libs/fmt/CMakeLists.darwin.txt
+++ b/contrib/libs/fmt/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-fmt PUBLIC
-DFMT_CONSTEVAL=
)
target_compile_options(contrib-libs-fmt PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-fmt PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/fmt/include
diff --git a/contrib/libs/fmt/CMakeLists.linux-aarch64.txt b/contrib/libs/fmt/CMakeLists.linux-aarch64.txt
index 63f5291dc1..0bff6a51f6 100644
--- a/contrib/libs/fmt/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/fmt/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-fmt PUBLIC
-DFMT_CONSTEVAL=
)
target_compile_options(contrib-libs-fmt PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-fmt PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/fmt/include
diff --git a/contrib/libs/fmt/CMakeLists.linux.txt b/contrib/libs/fmt/CMakeLists.linux.txt
index 63f5291dc1..0bff6a51f6 100644
--- a/contrib/libs/fmt/CMakeLists.linux.txt
+++ b/contrib/libs/fmt/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-fmt PUBLIC
-DFMT_CONSTEVAL=
)
target_compile_options(contrib-libs-fmt PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-fmt PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/fmt/include
diff --git a/contrib/libs/grpc/CMakeLists.darwin.txt b/contrib/libs/grpc/CMakeLists.darwin.txt
index 2df0aac4a8..011ef6a6c8 100644
--- a/contrib/libs/grpc/CMakeLists.darwin.txt
+++ b/contrib/libs/grpc/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ add_subdirectory(third_party)
add_library(contrib-libs-grpc)
target_compile_options(contrib-libs-grpc PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-grpc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
diff --git a/contrib/libs/grpc/CMakeLists.linux-aarch64.txt b/contrib/libs/grpc/CMakeLists.linux-aarch64.txt
index 101ba19386..f8cfeeb41d 100644
--- a/contrib/libs/grpc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/grpc/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ add_subdirectory(third_party)
add_library(contrib-libs-grpc)
target_compile_options(contrib-libs-grpc PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-grpc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
diff --git a/contrib/libs/grpc/CMakeLists.linux.txt b/contrib/libs/grpc/CMakeLists.linux.txt
index 101ba19386..f8cfeeb41d 100644
--- a/contrib/libs/grpc/CMakeLists.linux.txt
+++ b/contrib/libs/grpc/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ add_subdirectory(third_party)
add_library(contrib-libs-grpc)
target_compile_options(contrib-libs-grpc PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-grpc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
diff --git a/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.darwin.txt b/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.darwin.txt
index 805a0e8a51..c075387f00 100644
--- a/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.darwin.txt
+++ b/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(src-compiler-grpc_plugin_support)
target_compile_options(src-compiler-grpc_plugin_support PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(src-compiler-grpc_plugin_support PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
diff --git a/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux-aarch64.txt b/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux-aarch64.txt
index b3e255e4a0..5d50080edc 100644
--- a/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(src-compiler-grpc_plugin_support)
target_compile_options(src-compiler-grpc_plugin_support PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(src-compiler-grpc_plugin_support PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
diff --git a/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux.txt b/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux.txt
index b3e255e4a0..5d50080edc 100644
--- a/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux.txt
+++ b/contrib/libs/grpc/src/compiler/grpc_plugin_support/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(src-compiler-grpc_plugin_support)
target_compile_options(src-compiler-grpc_plugin_support PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(src-compiler-grpc_plugin_support PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
diff --git a/contrib/libs/grpc/third_party/address_sorting/CMakeLists.darwin.txt b/contrib/libs/grpc/third_party/address_sorting/CMakeLists.darwin.txt
index 6c66929cc1..769add5f8b 100644
--- a/contrib/libs/grpc/third_party/address_sorting/CMakeLists.darwin.txt
+++ b/contrib/libs/grpc/third_party/address_sorting/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(grpc-third_party-address_sorting)
target_compile_options(grpc-third_party-address_sorting PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(grpc-third_party-address_sorting PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/grpc
diff --git a/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux-aarch64.txt b/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux-aarch64.txt
index 221eec3f9e..5df7d10867 100644
--- a/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(grpc-third_party-address_sorting)
target_compile_options(grpc-third_party-address_sorting PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(grpc-third_party-address_sorting PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/grpc
diff --git a/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux.txt b/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux.txt
index 221eec3f9e..5df7d10867 100644
--- a/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux.txt
+++ b/contrib/libs/grpc/third_party/address_sorting/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(grpc-third_party-address_sorting)
target_compile_options(grpc-third_party-address_sorting PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(grpc-third_party-address_sorting PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/grpc
diff --git a/contrib/libs/grpc/third_party/upb/CMakeLists.darwin.txt b/contrib/libs/grpc/third_party/upb/CMakeLists.darwin.txt
index 9711cc2af2..2978b68ec9 100644
--- a/contrib/libs/grpc/third_party/upb/CMakeLists.darwin.txt
+++ b/contrib/libs/grpc/third_party/upb/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(grpc-third_party-upb)
target_compile_options(grpc-third_party-upb PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(grpc-third_party-upb PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/grpc
diff --git a/contrib/libs/grpc/third_party/upb/CMakeLists.linux-aarch64.txt b/contrib/libs/grpc/third_party/upb/CMakeLists.linux-aarch64.txt
index 915af5fccb..61de386d30 100644
--- a/contrib/libs/grpc/third_party/upb/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/grpc/third_party/upb/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(grpc-third_party-upb)
target_compile_options(grpc-third_party-upb PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(grpc-third_party-upb PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/grpc
diff --git a/contrib/libs/grpc/third_party/upb/CMakeLists.linux.txt b/contrib/libs/grpc/third_party/upb/CMakeLists.linux.txt
index 915af5fccb..61de386d30 100644
--- a/contrib/libs/grpc/third_party/upb/CMakeLists.linux.txt
+++ b/contrib/libs/grpc/third_party/upb/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(grpc-third_party-upb)
target_compile_options(grpc-third_party-upb PRIVATE
-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(grpc-third_party-upb PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/grpc
diff --git a/contrib/libs/hdr_histogram/CMakeLists.darwin.txt b/contrib/libs/hdr_histogram/CMakeLists.darwin.txt
index 3994f27a6f..8cc336fdd1 100644
--- a/contrib/libs/hdr_histogram/CMakeLists.darwin.txt
+++ b/contrib/libs/hdr_histogram/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(contrib-libs-hdr_histogram)
target_compile_options(contrib-libs-hdr_histogram PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-hdr_histogram PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src
diff --git a/contrib/libs/hdr_histogram/CMakeLists.linux-aarch64.txt b/contrib/libs/hdr_histogram/CMakeLists.linux-aarch64.txt
index 2d5a3323f1..baa66b76fe 100644
--- a/contrib/libs/hdr_histogram/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/hdr_histogram/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(contrib-libs-hdr_histogram)
target_compile_options(contrib-libs-hdr_histogram PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-hdr_histogram PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src
diff --git a/contrib/libs/hdr_histogram/CMakeLists.linux.txt b/contrib/libs/hdr_histogram/CMakeLists.linux.txt
index 2d5a3323f1..baa66b76fe 100644
--- a/contrib/libs/hdr_histogram/CMakeLists.linux.txt
+++ b/contrib/libs/hdr_histogram/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(contrib-libs-hdr_histogram)
target_compile_options(contrib-libs-hdr_histogram PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-hdr_histogram PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src
diff --git a/contrib/libs/highwayhash/CMakeLists.darwin.txt b/contrib/libs/highwayhash/CMakeLists.darwin.txt
index 9360b930a3..984a14ba7c 100644
--- a/contrib/libs/highwayhash/CMakeLists.darwin.txt
+++ b/contrib/libs/highwayhash/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ add_subdirectory(arch)
add_library(contrib-libs-highwayhash)
target_compile_options(contrib-libs-highwayhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-highwayhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt b/contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt
index a091ef9579..24c9ba9507 100644
--- a/contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/highwayhash/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-highwayhash)
target_compile_options(contrib-libs-highwayhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-highwayhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/highwayhash/CMakeLists.linux.txt b/contrib/libs/highwayhash/CMakeLists.linux.txt
index f2003ae188..8cffe39028 100644
--- a/contrib/libs/highwayhash/CMakeLists.linux.txt
+++ b/contrib/libs/highwayhash/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ add_subdirectory(arch)
add_library(contrib-libs-highwayhash)
target_compile_options(contrib-libs-highwayhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-highwayhash PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt b/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt
index 03cf76266b..d98bd38fb8 100644
--- a/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt
+++ b/contrib/libs/highwayhash/arch/avx2/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(highwayhash-arch-avx2)
target_compile_options(highwayhash-arch-avx2 PRIVATE
-mavx2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(highwayhash-arch-avx2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt b/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt
index ad2f3e9734..502e383f49 100644
--- a/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt
+++ b/contrib/libs/highwayhash/arch/avx2/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(highwayhash-arch-avx2)
target_compile_options(highwayhash-arch-avx2 PRIVATE
-mavx2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(highwayhash-arch-avx2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt b/contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt
index eeea0ca662..644e629a9c 100644
--- a/contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt
+++ b/contrib/libs/highwayhash/arch/sse41/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(highwayhash-arch-sse41)
target_compile_options(highwayhash-arch-sse41 PRIVATE
-msse4.1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(highwayhash-arch-sse41 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt b/contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt
index b99c2c78d2..52b6a35b11 100644
--- a/contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt
+++ b/contrib/libs/highwayhash/arch/sse41/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(highwayhash-arch-sse41)
target_compile_options(highwayhash-arch-sse41 PRIVATE
-msse4.1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(highwayhash-arch-sse41 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/highwayhash
diff --git a/contrib/libs/hyperscan/CMakeLists.darwin.txt b/contrib/libs/hyperscan/CMakeLists.darwin.txt
index 0ca4162e77..8576e86aab 100644
--- a/contrib/libs/hyperscan/CMakeLists.darwin.txt
+++ b/contrib/libs/hyperscan/CMakeLists.darwin.txt
@@ -14,7 +14,7 @@ add_subdirectory(runtime_corei7)
add_library(contrib-libs-hyperscan)
target_compile_options(contrib-libs-hyperscan PRIVATE
-DDISABLE_AVX512VBMI_DISPATCH
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-hyperscan PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/CMakeLists.linux.txt b/contrib/libs/hyperscan/CMakeLists.linux.txt
index 5b6e584233..06e680fc7e 100644
--- a/contrib/libs/hyperscan/CMakeLists.linux.txt
+++ b/contrib/libs/hyperscan/CMakeLists.linux.txt
@@ -14,7 +14,7 @@ add_subdirectory(runtime_corei7)
add_library(contrib-libs-hyperscan)
target_compile_options(contrib-libs-hyperscan PRIVATE
-DDISABLE_AVX512VBMI_DISPATCH
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-hyperscan PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt
index ab8df40ec3..85764417b7 100644
--- a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt
+++ b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.darwin.txt
@@ -430,7 +430,7 @@ target_compile_options(libs-hyperscan-runtime_avx2 PRIVATE
-DstreamInitSufPQ=avx2_streamInitSufPQ
-DtruffleExec=avx2_truffleExec
-Dvbs_mask_data=avx2_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_avx2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt
index 616d8cf1e4..8bae602102 100644
--- a/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt
+++ b/contrib/libs/hyperscan/runtime_avx2/CMakeLists.linux.txt
@@ -430,7 +430,7 @@ target_compile_options(libs-hyperscan-runtime_avx2 PRIVATE
-DstreamInitSufPQ=avx2_streamInitSufPQ
-DtruffleExec=avx2_truffleExec
-Dvbs_mask_data=avx2_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_avx2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt
index 023555aad7..e11134a46a 100644
--- a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt
+++ b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.darwin.txt
@@ -436,7 +436,7 @@ target_compile_options(libs-hyperscan-runtime_avx512 PRIVATE
-DstreamInitSufPQ=avx512_streamInitSufPQ
-DtruffleExec=avx512_truffleExec
-Dvbs_mask_data=avx512_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_avx512 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt
index 66b6166886..411a9453a3 100644
--- a/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt
+++ b/contrib/libs/hyperscan/runtime_avx512/CMakeLists.linux.txt
@@ -436,7 +436,7 @@ target_compile_options(libs-hyperscan-runtime_avx512 PRIVATE
-DstreamInitSufPQ=avx512_streamInitSufPQ
-DtruffleExec=avx512_truffleExec
-Dvbs_mask_data=avx512_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_avx512 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_core2/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_core2/CMakeLists.darwin.txt
index 424c67167c..63b5a33989 100644
--- a/contrib/libs/hyperscan/runtime_core2/CMakeLists.darwin.txt
+++ b/contrib/libs/hyperscan/runtime_core2/CMakeLists.darwin.txt
@@ -417,7 +417,7 @@ target_compile_options(libs-hyperscan-runtime_core2 PRIVATE
-DstreamInitSufPQ=core2_streamInitSufPQ
-DtruffleExec=core2_truffleExec
-Dvbs_mask_data=core2_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_core2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_core2/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_core2/CMakeLists.linux.txt
index f15bb90efc..9bb42a05f9 100644
--- a/contrib/libs/hyperscan/runtime_core2/CMakeLists.linux.txt
+++ b/contrib/libs/hyperscan/runtime_core2/CMakeLists.linux.txt
@@ -417,7 +417,7 @@ target_compile_options(libs-hyperscan-runtime_core2 PRIVATE
-DstreamInitSufPQ=core2_streamInitSufPQ
-DtruffleExec=core2_truffleExec
-Dvbs_mask_data=core2_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_core2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt
index 44d41a6ed2..c3088fa842 100644
--- a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt
+++ b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.darwin.txt
@@ -423,7 +423,7 @@ target_compile_options(libs-hyperscan-runtime_corei7 PRIVATE
-DstreamInitSufPQ=corei7_streamInitSufPQ
-DtruffleExec=corei7_truffleExec
-Dvbs_mask_data=corei7_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_corei7 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt
index f7dd264e00..c1878d2ffc 100644
--- a/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt
+++ b/contrib/libs/hyperscan/runtime_corei7/CMakeLists.linux.txt
@@ -423,7 +423,7 @@ target_compile_options(libs-hyperscan-runtime_corei7 PRIVATE
-DstreamInitSufPQ=corei7_streamInitSufPQ
-DtruffleExec=corei7_truffleExec
-Dvbs_mask_data=corei7_vbs_mask_data
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-hyperscan-runtime_corei7 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan
diff --git a/contrib/libs/icu/CMakeLists.darwin.txt b/contrib/libs/icu/CMakeLists.darwin.txt
index 3a642f7539..6e164c5f6a 100644
--- a/contrib/libs/icu/CMakeLists.darwin.txt
+++ b/contrib/libs/icu/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-icu PRIVATE
-DU_I18N_IMPLEMENTATION
-DU_IO_IMPLEMENTATION
-DU_STATIC_IMPLEMENTATION
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-icu PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/icu/include
diff --git a/contrib/libs/icu/CMakeLists.linux-aarch64.txt b/contrib/libs/icu/CMakeLists.linux-aarch64.txt
index 29f6fc7900..420ab30dd3 100644
--- a/contrib/libs/icu/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/icu/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-icu PRIVATE
-DU_I18N_IMPLEMENTATION
-DU_IO_IMPLEMENTATION
-DU_STATIC_IMPLEMENTATION
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-icu PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/icu/include
diff --git a/contrib/libs/icu/CMakeLists.linux.txt b/contrib/libs/icu/CMakeLists.linux.txt
index 29f6fc7900..420ab30dd3 100644
--- a/contrib/libs/icu/CMakeLists.linux.txt
+++ b/contrib/libs/icu/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-icu PRIVATE
-DU_I18N_IMPLEMENTATION
-DU_IO_IMPLEMENTATION
-DU_STATIC_IMPLEMENTATION
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-icu PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/icu/include
diff --git a/contrib/libs/jemalloc/CMakeLists.darwin.txt b/contrib/libs/jemalloc/CMakeLists.darwin.txt
index 9c88fafabb..8e041153f2 100644
--- a/contrib/libs/jemalloc/CMakeLists.darwin.txt
+++ b/contrib/libs/jemalloc/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-jemalloc)
target_compile_options(contrib-libs-jemalloc PRIVATE
-funroll-loops
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-jemalloc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
@@ -89,7 +89,7 @@ target_sources(contrib-libs-jemalloc PRIVATE
add_global_library_for(contrib-libs-jemalloc.global contrib-libs-jemalloc)
target_compile_options(contrib-libs-jemalloc.global PRIVATE
-funroll-loops
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-jemalloc.global PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
diff --git a/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt b/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt
index e6045ed722..e06c0a57bd 100644
--- a/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/jemalloc/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-jemalloc)
target_compile_options(contrib-libs-jemalloc PRIVATE
-funroll-loops
-fvisibility=hidden
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-jemalloc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
diff --git a/contrib/libs/jemalloc/CMakeLists.linux.txt b/contrib/libs/jemalloc/CMakeLists.linux.txt
index e6045ed722..e06c0a57bd 100644
--- a/contrib/libs/jemalloc/CMakeLists.linux.txt
+++ b/contrib/libs/jemalloc/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-jemalloc)
target_compile_options(contrib-libs-jemalloc PRIVATE
-funroll-loops
-fvisibility=hidden
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-jemalloc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
diff --git a/contrib/libs/libbz2/CMakeLists.darwin.txt b/contrib/libs/libbz2/CMakeLists.darwin.txt
index a674fdacd8..f5bcb4e658 100644
--- a/contrib/libs/libbz2/CMakeLists.darwin.txt
+++ b/contrib/libs/libbz2/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libbz2)
target_compile_options(contrib-libs-libbz2 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_sources(contrib-libs-libbz2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libbz2/blocksort.c
diff --git a/contrib/libs/libbz2/CMakeLists.linux-aarch64.txt b/contrib/libs/libbz2/CMakeLists.linux-aarch64.txt
index b57c0bc280..865cd53d18 100644
--- a/contrib/libs/libbz2/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libbz2/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libbz2)
target_compile_options(contrib-libs-libbz2 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-libbz2 PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/libbz2/CMakeLists.linux.txt b/contrib/libs/libbz2/CMakeLists.linux.txt
index b57c0bc280..865cd53d18 100644
--- a/contrib/libs/libbz2/CMakeLists.linux.txt
+++ b/contrib/libs/libbz2/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libbz2)
target_compile_options(contrib-libs-libbz2 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-libbz2 PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/libc_compat/CMakeLists.darwin.txt b/contrib/libs/libc_compat/CMakeLists.darwin.txt
index 99bd55a033..536ee46c8b 100644
--- a/contrib/libs/libc_compat/CMakeLists.darwin.txt
+++ b/contrib/libs/libc_compat/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libc_compat)
target_compile_options(contrib-libs-libc_compat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray
diff --git a/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt b/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt
index 1817331c06..66727f3e3e 100644
--- a/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libc_compat)
target_compile_options(contrib-libs-libc_compat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
diff --git a/contrib/libs/libc_compat/CMakeLists.linux.txt b/contrib/libs/libc_compat/CMakeLists.linux.txt
index 1817331c06..66727f3e3e 100644
--- a/contrib/libs/libc_compat/CMakeLists.linux.txt
+++ b/contrib/libs/libc_compat/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libc_compat)
target_compile_options(contrib-libs-libc_compat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
diff --git a/contrib/libs/libevent/event_core/CMakeLists.darwin.txt b/contrib/libs/libevent/event_core/CMakeLists.darwin.txt
index cfa0c67603..76257b1032 100644
--- a/contrib/libs/libevent/event_core/CMakeLists.darwin.txt
+++ b/contrib/libs/libevent/event_core/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_core)
target_compile_options(libs-libevent-event_core PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_core PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt b/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt
index 5ff0597786..58dc143881 100644
--- a/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libevent/event_core/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_core)
target_compile_options(libs-libevent-event_core PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_core PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_core/CMakeLists.linux.txt b/contrib/libs/libevent/event_core/CMakeLists.linux.txt
index 5ff0597786..58dc143881 100644
--- a/contrib/libs/libevent/event_core/CMakeLists.linux.txt
+++ b/contrib/libs/libevent/event_core/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_core)
target_compile_options(libs-libevent-event_core PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_core PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_extra/CMakeLists.darwin.txt b/contrib/libs/libevent/event_extra/CMakeLists.darwin.txt
index 9d79fc94be..18fe1e7a8b 100644
--- a/contrib/libs/libevent/event_extra/CMakeLists.darwin.txt
+++ b/contrib/libs/libevent/event_extra/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_extra)
target_compile_options(libs-libevent-event_extra PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_extra PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_extra/CMakeLists.linux-aarch64.txt b/contrib/libs/libevent/event_extra/CMakeLists.linux-aarch64.txt
index 1867a11940..04bb8460ed 100644
--- a/contrib/libs/libevent/event_extra/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libevent/event_extra/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_extra)
target_compile_options(libs-libevent-event_extra PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_extra PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_extra/CMakeLists.linux.txt b/contrib/libs/libevent/event_extra/CMakeLists.linux.txt
index 1867a11940..04bb8460ed 100644
--- a/contrib/libs/libevent/event_extra/CMakeLists.linux.txt
+++ b/contrib/libs/libevent/event_extra/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_extra)
target_compile_options(libs-libevent-event_extra PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_extra PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_openssl/CMakeLists.darwin.txt b/contrib/libs/libevent/event_openssl/CMakeLists.darwin.txt
index 449b342b6e..09f088478d 100644
--- a/contrib/libs/libevent/event_openssl/CMakeLists.darwin.txt
+++ b/contrib/libs/libevent/event_openssl/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ add_library(libs-libevent-event_openssl)
target_compile_options(libs-libevent-event_openssl PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_openssl PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_openssl/CMakeLists.linux-aarch64.txt b/contrib/libs/libevent/event_openssl/CMakeLists.linux-aarch64.txt
index f521645a4f..12cc167e6b 100644
--- a/contrib/libs/libevent/event_openssl/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libevent/event_openssl/CMakeLists.linux-aarch64.txt
@@ -12,7 +12,7 @@ add_library(libs-libevent-event_openssl)
target_compile_options(libs-libevent-event_openssl PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_openssl PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_openssl/CMakeLists.linux.txt b/contrib/libs/libevent/event_openssl/CMakeLists.linux.txt
index f521645a4f..12cc167e6b 100644
--- a/contrib/libs/libevent/event_openssl/CMakeLists.linux.txt
+++ b/contrib/libs/libevent/event_openssl/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ add_library(libs-libevent-event_openssl)
target_compile_options(libs-libevent-event_openssl PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_openssl PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_thread/CMakeLists.darwin.txt b/contrib/libs/libevent/event_thread/CMakeLists.darwin.txt
index af1be0df98..0cbd83fbf4 100644
--- a/contrib/libs/libevent/event_thread/CMakeLists.darwin.txt
+++ b/contrib/libs/libevent/event_thread/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_thread)
target_compile_options(libs-libevent-event_thread PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_thread PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_thread/CMakeLists.linux-aarch64.txt b/contrib/libs/libevent/event_thread/CMakeLists.linux-aarch64.txt
index 7a9f8e8457..27fc1b32f5 100644
--- a/contrib/libs/libevent/event_thread/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libevent/event_thread/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_thread)
target_compile_options(libs-libevent-event_thread PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_thread PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libevent/event_thread/CMakeLists.linux.txt b/contrib/libs/libevent/event_thread/CMakeLists.linux.txt
index 7a9f8e8457..27fc1b32f5 100644
--- a/contrib/libs/libevent/event_thread/CMakeLists.linux.txt
+++ b/contrib/libs/libevent/event_thread/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(libs-libevent-event_thread)
target_compile_options(libs-libevent-event_thread PRIVATE
-DHAVE_CONFIG_H
-DEVENT__HAVE_STRLCPY=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-libevent-event_thread PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libevent
diff --git a/contrib/libs/libfyaml/CMakeLists.darwin.txt b/contrib/libs/libfyaml/CMakeLists.darwin.txt
index 2548b20ffa..0dc91909d1 100644
--- a/contrib/libs/libfyaml/CMakeLists.darwin.txt
+++ b/contrib/libs/libfyaml/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-libfyaml)
target_compile_options(contrib-libs-libfyaml PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libfyaml PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml
diff --git a/contrib/libs/libfyaml/CMakeLists.linux-aarch64.txt b/contrib/libs/libfyaml/CMakeLists.linux-aarch64.txt
index 1b0e026cf6..f1c72fcd21 100644
--- a/contrib/libs/libfyaml/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libfyaml/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-libfyaml)
target_compile_options(contrib-libs-libfyaml PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libfyaml PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml
diff --git a/contrib/libs/libfyaml/CMakeLists.linux.txt b/contrib/libs/libfyaml/CMakeLists.linux.txt
index 1b0e026cf6..f1c72fcd21 100644
--- a/contrib/libs/libfyaml/CMakeLists.linux.txt
+++ b/contrib/libs/libfyaml/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-libfyaml)
target_compile_options(contrib-libs-libfyaml PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libfyaml PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libfyaml
diff --git a/contrib/libs/liburing/CMakeLists.linux-aarch64.txt b/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
index 936fe87551..63d62ff3ed 100644
--- a/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-liburing)
target_compile_options(contrib-libs-liburing PRIVATE
-DLIBURING_INTERNAL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-liburing PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/include
diff --git a/contrib/libs/liburing/CMakeLists.linux.txt b/contrib/libs/liburing/CMakeLists.linux.txt
index 936fe87551..63d62ff3ed 100644
--- a/contrib/libs/liburing/CMakeLists.linux.txt
+++ b/contrib/libs/liburing/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-liburing)
target_compile_options(contrib-libs-liburing PRIVATE
-DLIBURING_INTERNAL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-liburing PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/include
diff --git a/contrib/libs/libxml/CMakeLists.darwin.txt b/contrib/libs/libxml/CMakeLists.darwin.txt
index 362707d10c..d593318062 100644
--- a/contrib/libs/libxml/CMakeLists.darwin.txt
+++ b/contrib/libs/libxml/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(contrib-libs-libxml PUBLIC
)
target_compile_options(contrib-libs-libxml PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libxml PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libxml/include
diff --git a/contrib/libs/libxml/CMakeLists.linux-aarch64.txt b/contrib/libs/libxml/CMakeLists.linux-aarch64.txt
index 5f6b06be96..b607fa620b 100644
--- a/contrib/libs/libxml/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libxml/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(contrib-libs-libxml PUBLIC
)
target_compile_options(contrib-libs-libxml PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libxml PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libxml/include
diff --git a/contrib/libs/libxml/CMakeLists.linux.txt b/contrib/libs/libxml/CMakeLists.linux.txt
index 5f6b06be96..b607fa620b 100644
--- a/contrib/libs/libxml/CMakeLists.linux.txt
+++ b/contrib/libs/libxml/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(contrib-libs-libxml PUBLIC
)
target_compile_options(contrib-libs-libxml PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libxml PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libxml/include
diff --git a/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt b/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt
index 58262dd2f8..92603f7489 100644
--- a/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/linuxvdso/original/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(libs-linuxvdso-original)
target_compile_options(libs-linuxvdso-original PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(libs-linuxvdso-original PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/linuxvdso/original/CMakeLists.linux.txt b/contrib/libs/linuxvdso/original/CMakeLists.linux.txt
index 58262dd2f8..92603f7489 100644
--- a/contrib/libs/linuxvdso/original/CMakeLists.linux.txt
+++ b/contrib/libs/linuxvdso/original/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(libs-linuxvdso-original)
target_compile_options(libs-linuxvdso-original PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(libs-linuxvdso-original PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/llvm12/lib/Analysis/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Analysis/CMakeLists.darwin.txt
index 101b7e5b4b..2ba11227e1 100644
--- a/contrib/libs/llvm12/lib/Analysis/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Analysis/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Analysis)
target_compile_options(llvm12-lib-Analysis PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Analysis PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis
diff --git a/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux-aarch64.txt
index 4bfb68209f..753119c17f 100644
--- a/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Analysis)
target_compile_options(llvm12-lib-Analysis PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Analysis PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis
diff --git a/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux.txt
index 4bfb68209f..753119c17f 100644
--- a/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Analysis/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Analysis)
target_compile_options(llvm12-lib-Analysis PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Analysis PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis
diff --git a/contrib/libs/llvm12/lib/AsmParser/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/AsmParser/CMakeLists.darwin.txt
index 85019f3a18..36839293f4 100644
--- a/contrib/libs/llvm12/lib/AsmParser/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/AsmParser/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-AsmParser)
target_compile_options(llvm12-lib-AsmParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-AsmParser PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/AsmParser
diff --git a/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux-aarch64.txt
index 380be52b65..558f82cd5d 100644
--- a/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-AsmParser)
target_compile_options(llvm12-lib-AsmParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-AsmParser PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/AsmParser
diff --git a/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux.txt
index 380be52b65..558f82cd5d 100644
--- a/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/AsmParser/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-AsmParser)
target_compile_options(llvm12-lib-AsmParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-AsmParser PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/AsmParser
diff --git a/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.darwin.txt
index 52a618364c..96149cac1f 100644
--- a/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-BinaryFormat)
target_compile_options(llvm12-lib-BinaryFormat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-BinaryFormat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/BinaryFormat
diff --git a/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux-aarch64.txt
index aa9df3915e..a10c5f413a 100644
--- a/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-BinaryFormat)
target_compile_options(llvm12-lib-BinaryFormat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-BinaryFormat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/BinaryFormat
diff --git a/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux.txt
index aa9df3915e..a10c5f413a 100644
--- a/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/BinaryFormat/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-BinaryFormat)
target_compile_options(llvm12-lib-BinaryFormat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-BinaryFormat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/BinaryFormat
diff --git a/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.darwin.txt
index 970df8463c..39b2ea7c63 100644
--- a/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitcode-Reader)
target_compile_options(lib-Bitcode-Reader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitcode-Reader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitcode/Reader
diff --git a/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux-aarch64.txt
index 6c4c79addc..88a0842ef9 100644
--- a/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitcode-Reader)
target_compile_options(lib-Bitcode-Reader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitcode-Reader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitcode/Reader
diff --git a/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux.txt
index 6c4c79addc..88a0842ef9 100644
--- a/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Bitcode/Reader/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitcode-Reader)
target_compile_options(lib-Bitcode-Reader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitcode-Reader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitcode/Reader
diff --git a/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.darwin.txt
index 991de58922..60790bac2e 100644
--- a/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitcode-Writer)
target_compile_options(lib-Bitcode-Writer PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitcode-Writer PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitcode/Writer
diff --git a/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux-aarch64.txt
index fe0112efd8..7bab4525b2 100644
--- a/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitcode-Writer)
target_compile_options(lib-Bitcode-Writer PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitcode-Writer PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitcode/Writer
diff --git a/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux.txt
index fe0112efd8..7bab4525b2 100644
--- a/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Bitcode/Writer/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitcode-Writer)
target_compile_options(lib-Bitcode-Writer PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitcode-Writer PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitcode/Writer
diff --git a/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.darwin.txt
index 9156eb48a3..99a4a604d6 100644
--- a/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitstream-Reader)
target_compile_options(lib-Bitstream-Reader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitstream-Reader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitstream/Reader
diff --git a/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux-aarch64.txt
index 143fbffcf1..421708b1ee 100644
--- a/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitstream-Reader)
target_compile_options(lib-Bitstream-Reader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitstream-Reader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitstream/Reader
diff --git a/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux.txt
index 143fbffcf1..421708b1ee 100644
--- a/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Bitstream/Reader/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Bitstream-Reader)
target_compile_options(lib-Bitstream-Reader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Bitstream-Reader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Bitstream/Reader
diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt
index c6270f2b12..bcefc411a0 100644
--- a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-AsmPrinter)
target_compile_options(lib-CodeGen-AsmPrinter PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-AsmPrinter PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter
diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt
index c4ce338288..8a9a46ad09 100644
--- a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-AsmPrinter)
target_compile_options(lib-CodeGen-AsmPrinter PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-AsmPrinter PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter
diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt
index c4ce338288..8a9a46ad09 100644
--- a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-AsmPrinter)
target_compile_options(lib-CodeGen-AsmPrinter PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-AsmPrinter PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter
diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt
index a4a12bdd79..8e35eefddb 100644
--- a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ add_subdirectory(SelectionDAG)
add_library(llvm12-lib-CodeGen)
target_compile_options(llvm12-lib-CodeGen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-CodeGen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen
diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt
index aaccbddc1e..ab68b24331 100644
--- a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt
@@ -12,7 +12,7 @@ add_subdirectory(SelectionDAG)
add_library(llvm12-lib-CodeGen)
target_compile_options(llvm12-lib-CodeGen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-CodeGen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen
diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt
index aaccbddc1e..ab68b24331 100644
--- a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ add_subdirectory(SelectionDAG)
add_library(llvm12-lib-CodeGen)
target_compile_options(llvm12-lib-CodeGen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-CodeGen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen
diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt
index 4de304e9e5..27309bf40c 100644
--- a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-GlobalISel)
target_compile_options(lib-CodeGen-GlobalISel PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-GlobalISel PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel
diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt
index 11e7dfeed2..356c3e6fed 100644
--- a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-GlobalISel)
target_compile_options(lib-CodeGen-GlobalISel PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-GlobalISel PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel
diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt
index 11e7dfeed2..356c3e6fed 100644
--- a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-GlobalISel)
target_compile_options(lib-CodeGen-GlobalISel PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-GlobalISel PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel
diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt
index aa33478fcb..4e4dec12da 100644
--- a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-SelectionDAG)
target_compile_options(lib-CodeGen-SelectionDAG PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-SelectionDAG PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG
diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt
index 2ac575f672..a29c8b0bd7 100644
--- a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-SelectionDAG)
target_compile_options(lib-CodeGen-SelectionDAG PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-SelectionDAG PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG
diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt
index 2ac575f672..a29c8b0bd7 100644
--- a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-CodeGen-SelectionDAG)
target_compile_options(lib-CodeGen-SelectionDAG PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-CodeGen-SelectionDAG PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG
diff --git a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin.txt
index 06c72d45c2..2d33903161 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-CodeView)
target_compile_options(lib-DebugInfo-CodeView PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-CodeView PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView
diff --git a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux-aarch64.txt
index 9894aaaca8..8069320e81 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-CodeView)
target_compile_options(lib-DebugInfo-CodeView PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-CodeView PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView
diff --git a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux.txt
index 9894aaaca8..8069320e81 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-CodeView)
target_compile_options(lib-DebugInfo-CodeView PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-CodeView PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView
diff --git a/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.darwin.txt
index 0d4e66376b..2b5a8b0bd7 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-DWARF)
target_compile_options(lib-DebugInfo-DWARF PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-DWARF PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/DWARF
diff --git a/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux-aarch64.txt
index 0f365ce61f..99bb6435ef 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-DWARF)
target_compile_options(lib-DebugInfo-DWARF PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-DWARF PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/DWARF
diff --git a/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux.txt
index 0f365ce61f..99bb6435ef 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/DWARF/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-DWARF)
target_compile_options(lib-DebugInfo-DWARF PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-DWARF PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/DWARF
diff --git a/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.darwin.txt
index d0c8e945b8..333a23b759 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-MSF)
target_compile_options(lib-DebugInfo-MSF PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-MSF PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/MSF
diff --git a/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux-aarch64.txt
index 1e7f4d6f52..0afe1e70f0 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-MSF)
target_compile_options(lib-DebugInfo-MSF PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-MSF PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/MSF
diff --git a/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux.txt
index 1e7f4d6f52..0afe1e70f0 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/MSF/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-MSF)
target_compile_options(lib-DebugInfo-MSF PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-MSF PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/MSF
diff --git a/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.darwin.txt
index 2e05b7d1a5..499426d8b6 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-PDB)
target_compile_options(lib-DebugInfo-PDB PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-PDB PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/PDB
diff --git a/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux-aarch64.txt
index e8ecb89427..e5b50385a4 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-PDB)
target_compile_options(lib-DebugInfo-PDB PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-PDB PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/PDB
diff --git a/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux.txt
index e8ecb89427..e5b50385a4 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/PDB/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-PDB)
target_compile_options(lib-DebugInfo-PDB PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-PDB PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/PDB
diff --git a/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.darwin.txt
index 694bac4fbb..39a3b7dec0 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-Symbolize)
target_compile_options(lib-DebugInfo-Symbolize PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-Symbolize PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/Symbolize
diff --git a/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux-aarch64.txt
index 1e3e44ba98..dff4e05e8d 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-Symbolize)
target_compile_options(lib-DebugInfo-Symbolize PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-Symbolize PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/Symbolize
diff --git a/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux.txt
index 1e3e44ba98..dff4e05e8d 100644
--- a/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/DebugInfo/Symbolize/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-DebugInfo-Symbolize)
target_compile_options(lib-DebugInfo-Symbolize PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-DebugInfo-Symbolize PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/Symbolize
diff --git a/contrib/libs/llvm12/lib/Demangle/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Demangle/CMakeLists.darwin.txt
index 59dddc1b05..8ce23b0d3b 100644
--- a/contrib/libs/llvm12/lib/Demangle/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Demangle/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Demangle)
target_compile_options(llvm12-lib-Demangle PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Demangle PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Demangle
diff --git a/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux-aarch64.txt
index c441cf0054..91665dd594 100644
--- a/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Demangle)
target_compile_options(llvm12-lib-Demangle PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Demangle PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Demangle
diff --git a/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux.txt
index c441cf0054..91665dd594 100644
--- a/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Demangle/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Demangle)
target_compile_options(llvm12-lib-Demangle PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Demangle PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Demangle
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt
index 4bd3652a8a..8822271bb6 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_subdirectory(RuntimeDyld)
add_library(llvm12-lib-ExecutionEngine)
target_compile_options(llvm12-lib-ExecutionEngine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-ExecutionEngine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt
index a78282292b..0b5d23d06f 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux-aarch64.txt
@@ -12,7 +12,7 @@ add_subdirectory(RuntimeDyld)
add_library(llvm12-lib-ExecutionEngine)
target_compile_options(llvm12-lib-ExecutionEngine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-ExecutionEngine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt
index a78282292b..0b5d23d06f 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ add_subdirectory(RuntimeDyld)
add_library(llvm12-lib-ExecutionEngine)
target_compile_options(llvm12-lib-ExecutionEngine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-ExecutionEngine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.darwin.txt
index 92627895de..5404346e22 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-MCJIT)
target_compile_options(lib-ExecutionEngine-MCJIT PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-MCJIT PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux-aarch64.txt
index afe6bf9866..e2731cdb21 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-MCJIT)
target_compile_options(lib-ExecutionEngine-MCJIT PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-MCJIT PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux.txt
index afe6bf9866..e2731cdb21 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-MCJIT)
target_compile_options(lib-ExecutionEngine-MCJIT PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-MCJIT PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/MCJIT
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt
index 4f66dd8bac..99bf1810a2 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-PerfJITEvents)
target_compile_options(lib-ExecutionEngine-PerfJITEvents PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt
index 4f66dd8bac..99bf1810a2 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-PerfJITEvents)
target_compile_options(lib-ExecutionEngine-PerfJITEvents PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.darwin.txt
index c6c8dbe832..a55dda54ce 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-RuntimeDyld)
target_compile_options(lib-ExecutionEngine-RuntimeDyld PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-RuntimeDyld PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux-aarch64.txt
index 9d5aadc840..f79d0d9af0 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-RuntimeDyld)
target_compile_options(lib-ExecutionEngine-RuntimeDyld PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-RuntimeDyld PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux.txt
index 9d5aadc840..f79d0d9af0 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-ExecutionEngine-RuntimeDyld)
target_compile_options(lib-ExecutionEngine-RuntimeDyld PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-ExecutionEngine-RuntimeDyld PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/RuntimeDyld
diff --git a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.darwin.txt
index e70a533d21..ff198fe772 100644
--- a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ set_property(SOURCE ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/
add_library(lib-Frontend-OpenMP)
target_compile_options(lib-Frontend-OpenMP PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Frontend-OpenMP PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP
diff --git a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux-aarch64.txt
index 4785761046..879a65a6cb 100644
--- a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ set_property(SOURCE ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/
add_library(lib-Frontend-OpenMP)
target_compile_options(lib-Frontend-OpenMP PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Frontend-OpenMP PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP
diff --git a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux.txt
index 4785761046..879a65a6cb 100644
--- a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ set_property(SOURCE ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/
add_library(lib-Frontend-OpenMP)
target_compile_options(lib-Frontend-OpenMP PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Frontend-OpenMP PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP
diff --git a/contrib/libs/llvm12/lib/IR/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/IR/CMakeLists.darwin.txt
index a8e2681f35..39523b06af 100644
--- a/contrib/libs/llvm12/lib/IR/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/IR/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-IR)
target_compile_options(llvm12-lib-IR PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-IR PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR
diff --git a/contrib/libs/llvm12/lib/IR/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/IR/CMakeLists.linux-aarch64.txt
index 93ad91673d..1ec678d8d5 100644
--- a/contrib/libs/llvm12/lib/IR/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/IR/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-IR)
target_compile_options(llvm12-lib-IR PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-IR PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR
diff --git a/contrib/libs/llvm12/lib/IR/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/IR/CMakeLists.linux.txt
index 93ad91673d..1ec678d8d5 100644
--- a/contrib/libs/llvm12/lib/IR/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/IR/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-IR)
target_compile_options(llvm12-lib-IR PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-IR PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR
diff --git a/contrib/libs/llvm12/lib/IRReader/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/IRReader/CMakeLists.darwin.txt
index 135459134d..bea3fbc885 100644
--- a/contrib/libs/llvm12/lib/IRReader/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/IRReader/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-IRReader)
target_compile_options(llvm12-lib-IRReader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-IRReader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IRReader
diff --git a/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux-aarch64.txt
index da5319e0a4..2fc3d6c781 100644
--- a/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-IRReader)
target_compile_options(llvm12-lib-IRReader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-IRReader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IRReader
diff --git a/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux.txt
index da5319e0a4..2fc3d6c781 100644
--- a/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/IRReader/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-IRReader)
target_compile_options(llvm12-lib-IRReader PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-IRReader PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IRReader
diff --git a/contrib/libs/llvm12/lib/Linker/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Linker/CMakeLists.darwin.txt
index f046759251..1b6e260057 100644
--- a/contrib/libs/llvm12/lib/Linker/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Linker/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Linker)
target_compile_options(llvm12-lib-Linker PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Linker PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker
diff --git a/contrib/libs/llvm12/lib/Linker/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Linker/CMakeLists.linux-aarch64.txt
index 333cd4ecee..0008227988 100644
--- a/contrib/libs/llvm12/lib/Linker/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Linker/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Linker)
target_compile_options(llvm12-lib-Linker PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Linker PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker
diff --git a/contrib/libs/llvm12/lib/Linker/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Linker/CMakeLists.linux.txt
index 333cd4ecee..0008227988 100644
--- a/contrib/libs/llvm12/lib/Linker/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Linker/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Linker)
target_compile_options(llvm12-lib-Linker PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Linker PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker
diff --git a/contrib/libs/llvm12/lib/MC/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/MC/CMakeLists.darwin.txt
index b0b2fe5d25..a873c2d122 100644
--- a/contrib/libs/llvm12/lib/MC/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/MC/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_subdirectory(MCParser)
add_library(llvm12-lib-MC)
target_compile_options(llvm12-lib-MC PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-MC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC
diff --git a/contrib/libs/llvm12/lib/MC/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/MC/CMakeLists.linux-aarch64.txt
index bca4b89bcc..62a27d359d 100644
--- a/contrib/libs/llvm12/lib/MC/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/MC/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_subdirectory(MCParser)
add_library(llvm12-lib-MC)
target_compile_options(llvm12-lib-MC PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-MC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC
diff --git a/contrib/libs/llvm12/lib/MC/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/MC/CMakeLists.linux.txt
index bca4b89bcc..62a27d359d 100644
--- a/contrib/libs/llvm12/lib/MC/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/MC/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_subdirectory(MCParser)
add_library(llvm12-lib-MC)
target_compile_options(llvm12-lib-MC PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-MC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC
diff --git a/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.darwin.txt
index bbaf570edd..a2bee93bc4 100644
--- a/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-MC-MCDisassembler)
target_compile_options(lib-MC-MCDisassembler PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-MC-MCDisassembler PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCDisassembler
diff --git a/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux-aarch64.txt
index e1fa0cdc05..a6713624c1 100644
--- a/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-MC-MCDisassembler)
target_compile_options(lib-MC-MCDisassembler PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-MC-MCDisassembler PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCDisassembler
diff --git a/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux.txt
index e1fa0cdc05..a6713624c1 100644
--- a/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/MC/MCDisassembler/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-MC-MCDisassembler)
target_compile_options(lib-MC-MCDisassembler PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-MC-MCDisassembler PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCDisassembler
diff --git a/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.darwin.txt
index 15fd624f84..e947a4a7c4 100644
--- a/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-MC-MCParser)
target_compile_options(lib-MC-MCParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-MC-MCParser PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCParser
diff --git a/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux-aarch64.txt
index fa74aca93c..5385e415dd 100644
--- a/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-MC-MCParser)
target_compile_options(lib-MC-MCParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-MC-MCParser PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCParser
diff --git a/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux.txt
index fa74aca93c..5385e415dd 100644
--- a/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/MC/MCParser/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-MC-MCParser)
target_compile_options(lib-MC-MCParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-MC-MCParser PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCParser
diff --git a/contrib/libs/llvm12/lib/Object/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Object/CMakeLists.darwin.txt
index 0e23b0e573..f1207f4b5d 100644
--- a/contrib/libs/llvm12/lib/Object/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Object/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Object)
target_compile_options(llvm12-lib-Object PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Object PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object
diff --git a/contrib/libs/llvm12/lib/Object/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Object/CMakeLists.linux-aarch64.txt
index 21f787929b..45fb57f72c 100644
--- a/contrib/libs/llvm12/lib/Object/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Object/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Object)
target_compile_options(llvm12-lib-Object PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Object PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object
diff --git a/contrib/libs/llvm12/lib/Object/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Object/CMakeLists.linux.txt
index 21f787929b..45fb57f72c 100644
--- a/contrib/libs/llvm12/lib/Object/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Object/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Object)
target_compile_options(llvm12-lib-Object PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Object PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object
diff --git a/contrib/libs/llvm12/lib/ProfileData/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/ProfileData/CMakeLists.darwin.txt
index 7e0487db0e..3e79d53db2 100644
--- a/contrib/libs/llvm12/lib/ProfileData/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/ProfileData/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-ProfileData)
target_compile_options(llvm12-lib-ProfileData PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-ProfileData PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData
diff --git a/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux-aarch64.txt
index 7402016b46..8dbd3c6d65 100644
--- a/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-ProfileData)
target_compile_options(llvm12-lib-ProfileData PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-ProfileData PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData
diff --git a/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux.txt
index 7402016b46..8dbd3c6d65 100644
--- a/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/ProfileData/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-ProfileData)
target_compile_options(llvm12-lib-ProfileData PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-ProfileData PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData
diff --git a/contrib/libs/llvm12/lib/Remarks/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Remarks/CMakeLists.darwin.txt
index 8d4065bb52..edd1e0fe35 100644
--- a/contrib/libs/llvm12/lib/Remarks/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Remarks/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Remarks)
target_compile_options(llvm12-lib-Remarks PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Remarks PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Remarks
diff --git a/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux-aarch64.txt
index 2e43ec9f87..ab39010290 100644
--- a/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Remarks)
target_compile_options(llvm12-lib-Remarks PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Remarks PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Remarks
diff --git a/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux.txt
index 2e43ec9f87..ab39010290 100644
--- a/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Remarks/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-Remarks)
target_compile_options(llvm12-lib-Remarks PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Remarks PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Remarks
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.darwin.txt
index 1bc45a919b..e00be62440 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(llvm12-lib-Support)
target_compile_options(llvm12-lib-Support PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt
index 5cd7ca3941..89974d62a5 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(llvm12-lib-Support)
target_compile_options(llvm12-lib-Support PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.linux.txt
index 5cd7ca3941..89974d62a5 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ find_package(ZLIB REQUIRED)
add_library(llvm12-lib-Support)
target_compile_options(llvm12-lib-Support PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support
diff --git a/contrib/libs/llvm12/lib/TableGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/TableGen/CMakeLists.darwin.txt
index b77bc77422..6f2ec53956 100644
--- a/contrib/libs/llvm12/lib/TableGen/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/TableGen/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-TableGen)
target_compile_options(llvm12-lib-TableGen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-TableGen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/TableGen
diff --git a/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux-aarch64.txt
index 3848197a43..13e6f13167 100644
--- a/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-TableGen)
target_compile_options(llvm12-lib-TableGen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-TableGen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/TableGen
diff --git a/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux.txt
index 3848197a43..13e6f13167 100644
--- a/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/TableGen/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(llvm12-lib-TableGen)
target_compile_options(llvm12-lib-TableGen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-TableGen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/TableGen
diff --git a/contrib/libs/llvm12/lib/Target/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Target/CMakeLists.darwin.txt
index 25de3f62a3..d8ccbcb7dc 100644
--- a/contrib/libs/llvm12/lib/Target/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Target/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ add_subdirectory(X86)
add_library(llvm12-lib-Target)
target_compile_options(llvm12-lib-Target PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Target PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target
diff --git a/contrib/libs/llvm12/lib/Target/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Target/CMakeLists.linux-aarch64.txt
index 41b1446f23..cf814ae947 100644
--- a/contrib/libs/llvm12/lib/Target/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Target/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ add_subdirectory(X86)
add_library(llvm12-lib-Target)
target_compile_options(llvm12-lib-Target PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Target PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target
diff --git a/contrib/libs/llvm12/lib/Target/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Target/CMakeLists.linux.txt
index 41b1446f23..cf814ae947 100644
--- a/contrib/libs/llvm12/lib/Target/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Target/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ add_subdirectory(X86)
add_library(llvm12-lib-Target)
target_compile_options(llvm12-lib-Target PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm12-lib-Target PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target
diff --git a/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.darwin.txt
index 1344b2c2a4..122aabfd9c 100644
--- a/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-AsmParser)
target_compile_options(Target-X86-AsmParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-AsmParser PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux-aarch64.txt
index 88f3cbf8a9..30cd4e60a5 100644
--- a/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-AsmParser)
target_compile_options(Target-X86-AsmParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-AsmParser PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux.txt
index 88f3cbf8a9..30cd4e60a5 100644
--- a/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-AsmParser)
target_compile_options(Target-X86-AsmParser PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-AsmParser PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.darwin.txt
index bacb893a95..aaa8d6337d 100644
--- a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ add_subdirectory(TargetInfo)
add_library(lib-Target-X86)
target_compile_options(lib-Target-X86 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Target-X86 PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux-aarch64.txt
index f1c69a99b1..982a7323e1 100644
--- a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ add_subdirectory(TargetInfo)
add_library(lib-Target-X86)
target_compile_options(lib-Target-X86 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Target-X86 PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux.txt
index f1c69a99b1..982a7323e1 100644
--- a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ add_subdirectory(TargetInfo)
add_library(lib-Target-X86)
target_compile_options(lib-Target-X86 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Target-X86 PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.darwin.txt
index 975ba11ed6..9aeb4c5140 100644
--- a/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-Disassembler)
target_compile_options(Target-X86-Disassembler PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-Disassembler PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux-aarch64.txt
index aa264dd78f..eecb1b3d5f 100644
--- a/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-Disassembler)
target_compile_options(Target-X86-Disassembler PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-Disassembler PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux.txt
index aa264dd78f..eecb1b3d5f 100644
--- a/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/Disassembler/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-Disassembler)
target_compile_options(Target-X86-Disassembler PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-Disassembler PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.darwin.txt
index 62c1c02908..d38e0dc78b 100644
--- a/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-MCTargetDesc)
target_compile_options(Target-X86-MCTargetDesc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-MCTargetDesc PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux-aarch64.txt
index fea732436f..8f818b1bf0 100644
--- a/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-MCTargetDesc)
target_compile_options(Target-X86-MCTargetDesc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-MCTargetDesc PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux.txt
index fea732436f..8f818b1bf0 100644
--- a/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/MCTargetDesc/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-MCTargetDesc)
target_compile_options(Target-X86-MCTargetDesc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-MCTargetDesc PRIVATE
${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.darwin.txt
index 28c1e78157..f8e6afeb96 100644
--- a/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-TargetInfo)
target_compile_options(Target-X86-TargetInfo PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-TargetInfo PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux-aarch64.txt
index 3768540a27..776f51f91d 100644
--- a/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-TargetInfo)
target_compile_options(Target-X86-TargetInfo PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-TargetInfo PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux.txt
index 3768540a27..776f51f91d 100644
--- a/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/TargetInfo/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(Target-X86-TargetInfo)
target_compile_options(Target-X86-TargetInfo PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(Target-X86-TargetInfo PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.darwin.txt
index d3ce6617cf..507d58e59b 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-TextAPI-MachO)
target_compile_options(lib-TextAPI-MachO PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-TextAPI-MachO PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/TextAPI
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux-aarch64.txt
index f41e56d2dc..4914b7d4f3 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-TextAPI-MachO)
target_compile_options(lib-TextAPI-MachO PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-TextAPI-MachO PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/TextAPI
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux.txt
index f41e56d2dc..4914b7d4f3 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-TextAPI-MachO)
target_compile_options(lib-TextAPI-MachO PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-TextAPI-MachO PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/TextAPI
diff --git a/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.darwin.txt
index b5fff03a7b..5ca07fe1bc 100644
--- a/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-AggressiveInstCombine)
target_compile_options(lib-Transforms-AggressiveInstCombine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-AggressiveInstCombine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine
diff --git a/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux-aarch64.txt
index 69900b8ce6..b1a4c8817a 100644
--- a/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-AggressiveInstCombine)
target_compile_options(lib-Transforms-AggressiveInstCombine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-AggressiveInstCombine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine
diff --git a/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux.txt
index 69900b8ce6..b1a4c8817a 100644
--- a/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-AggressiveInstCombine)
target_compile_options(lib-Transforms-AggressiveInstCombine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-AggressiveInstCombine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/AggressiveInstCombine
diff --git a/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.darwin.txt
index efa334727d..bdf9095525 100644
--- a/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-CFGuard)
target_compile_options(lib-Transforms-CFGuard PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-CFGuard PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/CFGuard
diff --git a/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux-aarch64.txt
index 45d2fe06c9..ee458414a0 100644
--- a/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-CFGuard)
target_compile_options(lib-Transforms-CFGuard PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-CFGuard PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/CFGuard
diff --git a/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux.txt
index 45d2fe06c9..ee458414a0 100644
--- a/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/CFGuard/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-CFGuard)
target_compile_options(lib-Transforms-CFGuard PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-CFGuard PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/CFGuard
diff --git a/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.darwin.txt
index 9abb654fe2..a703571757 100644
--- a/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-IPO)
target_compile_options(lib-Transforms-IPO PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-IPO PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/IPO
diff --git a/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux-aarch64.txt
index 23c0dd970e..00fbb651b8 100644
--- a/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-IPO)
target_compile_options(lib-Transforms-IPO PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-IPO PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/IPO
diff --git a/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux.txt
index 23c0dd970e..00fbb651b8 100644
--- a/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/IPO/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-IPO)
target_compile_options(lib-Transforms-IPO PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-IPO PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/IPO
diff --git a/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.darwin.txt
index a76d4da712..1d62defbb4 100644
--- a/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-InstCombine)
target_compile_options(lib-Transforms-InstCombine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-InstCombine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/InstCombine
diff --git a/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux-aarch64.txt
index 1aecd74d9c..870556286d 100644
--- a/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-InstCombine)
target_compile_options(lib-Transforms-InstCombine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-InstCombine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/InstCombine
diff --git a/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux.txt
index 1aecd74d9c..870556286d 100644
--- a/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/InstCombine/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-InstCombine)
target_compile_options(lib-Transforms-InstCombine PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-InstCombine PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/InstCombine
diff --git a/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.darwin.txt
index 487e4aa32b..bf742c3572 100644
--- a/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Instrumentation)
target_compile_options(lib-Transforms-Instrumentation PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Instrumentation PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Instrumentation
diff --git a/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux-aarch64.txt
index 98e8bb51a5..1c1b924cc4 100644
--- a/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Instrumentation)
target_compile_options(lib-Transforms-Instrumentation PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Instrumentation PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Instrumentation
diff --git a/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux.txt
index 98e8bb51a5..1c1b924cc4 100644
--- a/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Instrumentation/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Instrumentation)
target_compile_options(lib-Transforms-Instrumentation PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Instrumentation PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Instrumentation
diff --git a/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.darwin.txt
index 1c0d716f81..b69d2408d2 100644
--- a/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-ObjCARC)
target_compile_options(lib-Transforms-ObjCARC PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-ObjCARC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/ObjCARC
diff --git a/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux-aarch64.txt
index 619f231bed..17250eafec 100644
--- a/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-ObjCARC)
target_compile_options(lib-Transforms-ObjCARC PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-ObjCARC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/ObjCARC
diff --git a/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux.txt
index 619f231bed..17250eafec 100644
--- a/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/ObjCARC/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-ObjCARC)
target_compile_options(lib-Transforms-ObjCARC PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-ObjCARC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/ObjCARC
diff --git a/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.darwin.txt
index 01ccf70c7e..85fbc1b9a9 100644
--- a/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Scalar)
target_compile_options(lib-Transforms-Scalar PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Scalar PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar
diff --git a/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux-aarch64.txt
index 48f4aa900c..b8137e772b 100644
--- a/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Scalar)
target_compile_options(lib-Transforms-Scalar PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Scalar PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar
diff --git a/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux.txt
index 48f4aa900c..b8137e772b 100644
--- a/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Scalar/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Scalar)
target_compile_options(lib-Transforms-Scalar PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Scalar PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar
diff --git a/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.darwin.txt
index 3ecabe5c74..85ed4a4c6d 100644
--- a/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Utils)
target_compile_options(lib-Transforms-Utils PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Utils PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Utils
diff --git a/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux-aarch64.txt
index 2eba81af2c..f9c59ee4c3 100644
--- a/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Utils)
target_compile_options(lib-Transforms-Utils PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Utils PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Utils
diff --git a/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux.txt
index 2eba81af2c..f9c59ee4c3 100644
--- a/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Utils/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Utils)
target_compile_options(lib-Transforms-Utils PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Utils PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Utils
diff --git a/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.darwin.txt
index c9ef32d66f..d45ba449fd 100644
--- a/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Vectorize)
target_compile_options(lib-Transforms-Vectorize PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Vectorize PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Vectorize
diff --git a/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux-aarch64.txt
index 53acadaba3..b0d2491235 100644
--- a/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Vectorize)
target_compile_options(lib-Transforms-Vectorize PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Vectorize PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Vectorize
diff --git a/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux.txt
index 53acadaba3..b0d2491235 100644
--- a/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/lib/Transforms/Vectorize/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(lib-Transforms-Vectorize)
target_compile_options(lib-Transforms-Vectorize PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Transforms-Vectorize PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Vectorize
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
index d53992ae4c..8c0da0e004 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@ add_subdirectory(GlobalISel)
add_executable(llvm-tblgen)
target_compile_options(llvm-tblgen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm-tblgen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt
index ec4e23dbab..2cf3bbe33a 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@ add_subdirectory(GlobalISel)
add_executable(llvm-tblgen)
target_compile_options(llvm-tblgen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm-tblgen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
index 66fbe453f6..d8d6dc0ce5 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
@@ -10,7 +10,7 @@ add_subdirectory(GlobalISel)
add_executable(llvm-tblgen)
target_compile_options(llvm-tblgen PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm-tblgen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
diff --git a/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.darwin.txt b/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.darwin.txt
index 007e4d7991..7ab180f92f 100644
--- a/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(utils-TableGen-GlobalISel)
target_compile_options(utils-TableGen-GlobalISel PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(utils-TableGen-GlobalISel PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISel
diff --git a/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux-aarch64.txt
index 623f4b6585..bb006dd12d 100644
--- a/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(utils-TableGen-GlobalISel)
target_compile_options(utils-TableGen-GlobalISel PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(utils-TableGen-GlobalISel PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISel
diff --git a/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux.txt b/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux.txt
index 623f4b6585..bb006dd12d 100644
--- a/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/utils/TableGen/GlobalISel/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(utils-TableGen-GlobalISel)
target_compile_options(utils-TableGen-GlobalISel PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(utils-TableGen-GlobalISel PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISel
diff --git a/contrib/libs/lua/CMakeLists.darwin.txt b/contrib/libs/lua/CMakeLists.darwin.txt
index c90aa7f2a2..00e022dac4 100644
--- a/contrib/libs/lua/CMakeLists.darwin.txt
+++ b/contrib/libs/lua/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-lua)
target_compile_options(contrib-libs-lua PRIVATE
-DLUA_USE_MACOSX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-lua PUBLIC
${CMAKE_BINARY_DIR}/contrib/libs/lua
diff --git a/contrib/libs/lua/CMakeLists.linux-aarch64.txt b/contrib/libs/lua/CMakeLists.linux-aarch64.txt
index 382b8b648c..cc4c934a71 100644
--- a/contrib/libs/lua/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/lua/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-lua)
target_compile_options(contrib-libs-lua PRIVATE
-DLUA_USE_LINUX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-lua PUBLIC
${CMAKE_BINARY_DIR}/contrib/libs/lua
diff --git a/contrib/libs/lua/CMakeLists.linux.txt b/contrib/libs/lua/CMakeLists.linux.txt
index 382b8b648c..cc4c934a71 100644
--- a/contrib/libs/lua/CMakeLists.linux.txt
+++ b/contrib/libs/lua/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-lua)
target_compile_options(contrib-libs-lua PRIVATE
-DLUA_USE_LINUX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-lua PUBLIC
${CMAKE_BINARY_DIR}/contrib/libs/lua
diff --git a/contrib/libs/lzma/CMakeLists.darwin.txt b/contrib/libs/lzma/CMakeLists.darwin.txt
index 10fcf59792..d525ab738b 100644
--- a/contrib/libs/lzma/CMakeLists.darwin.txt
+++ b/contrib/libs/lzma/CMakeLists.darwin.txt
@@ -14,7 +14,7 @@ target_compile_options(contrib-libs-lzma PUBLIC
target_compile_options(contrib-libs-lzma PRIVATE
-DHAVE_CONFIG_H
-DTUKLIB_SYMBOL_PREFIX=lzma_
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-lzma PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/lzma/liblzma/api
diff --git a/contrib/libs/lzma/CMakeLists.linux-aarch64.txt b/contrib/libs/lzma/CMakeLists.linux-aarch64.txt
index 2afe78cc4c..1be6e4f2c7 100644
--- a/contrib/libs/lzma/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/lzma/CMakeLists.linux-aarch64.txt
@@ -14,7 +14,7 @@ target_compile_options(contrib-libs-lzma PUBLIC
target_compile_options(contrib-libs-lzma PRIVATE
-DHAVE_CONFIG_H
-DTUKLIB_SYMBOL_PREFIX=lzma_
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-lzma PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/lzma/liblzma/api
diff --git a/contrib/libs/lzma/CMakeLists.linux.txt b/contrib/libs/lzma/CMakeLists.linux.txt
index 2afe78cc4c..1be6e4f2c7 100644
--- a/contrib/libs/lzma/CMakeLists.linux.txt
+++ b/contrib/libs/lzma/CMakeLists.linux.txt
@@ -14,7 +14,7 @@ target_compile_options(contrib-libs-lzma PUBLIC
target_compile_options(contrib-libs-lzma PRIVATE
-DHAVE_CONFIG_H
-DTUKLIB_SYMBOL_PREFIX=lzma_
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-lzma PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/lzma/liblzma/api
diff --git a/contrib/libs/nghttp2/CMakeLists.darwin.txt b/contrib/libs/nghttp2/CMakeLists.darwin.txt
index 336ab998a5..e6d5bc3ea1 100644
--- a/contrib/libs/nghttp2/CMakeLists.darwin.txt
+++ b/contrib/libs/nghttp2/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-nghttp2)
target_compile_options(contrib-libs-nghttp2 PRIVATE
-DBUILDING_NGHTTP2
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-nghttp2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/nghttp2/lib/includes
diff --git a/contrib/libs/nghttp2/CMakeLists.linux-aarch64.txt b/contrib/libs/nghttp2/CMakeLists.linux-aarch64.txt
index 9175f962ee..3224ad6131 100644
--- a/contrib/libs/nghttp2/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/nghttp2/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-nghttp2)
target_compile_options(contrib-libs-nghttp2 PRIVATE
-DBUILDING_NGHTTP2
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-nghttp2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/nghttp2/lib/includes
diff --git a/contrib/libs/nghttp2/CMakeLists.linux.txt b/contrib/libs/nghttp2/CMakeLists.linux.txt
index 9175f962ee..3224ad6131 100644
--- a/contrib/libs/nghttp2/CMakeLists.linux.txt
+++ b/contrib/libs/nghttp2/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-nghttp2)
target_compile_options(contrib-libs-nghttp2 PRIVATE
-DBUILDING_NGHTTP2
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-nghttp2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/nghttp2/lib/includes
diff --git a/contrib/libs/pcre/CMakeLists.darwin.txt b/contrib/libs/pcre/CMakeLists.darwin.txt
index 6b6416de73..d217f5c0b3 100644
--- a/contrib/libs/pcre/CMakeLists.darwin.txt
+++ b/contrib/libs/pcre/CMakeLists.darwin.txt
@@ -16,7 +16,7 @@ target_compile_options(contrib-libs-pcre PUBLIC
target_compile_options(contrib-libs-pcre PRIVATE
-DHAVE_CONFIG_H
-DARCADIA_PCRE_ENABLE_JIT
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-pcre PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/CMakeLists.linux-aarch64.txt b/contrib/libs/pcre/CMakeLists.linux-aarch64.txt
index a4960da0f8..3051404f46 100644
--- a/contrib/libs/pcre/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/pcre/CMakeLists.linux-aarch64.txt
@@ -16,7 +16,7 @@ target_compile_options(contrib-libs-pcre PUBLIC
target_compile_options(contrib-libs-pcre PRIVATE
-DHAVE_CONFIG_H
-DARCADIA_PCRE_ENABLE_JIT
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-pcre PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/CMakeLists.linux.txt b/contrib/libs/pcre/CMakeLists.linux.txt
index a4960da0f8..3051404f46 100644
--- a/contrib/libs/pcre/CMakeLists.linux.txt
+++ b/contrib/libs/pcre/CMakeLists.linux.txt
@@ -16,7 +16,7 @@ target_compile_options(contrib-libs-pcre PUBLIC
target_compile_options(contrib-libs-pcre PRIVATE
-DHAVE_CONFIG_H
-DARCADIA_PCRE_ENABLE_JIT
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-pcre PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/pcre16/CMakeLists.darwin.txt b/contrib/libs/pcre/pcre16/CMakeLists.darwin.txt
index 7c35fe9f7f..5f646dba67 100644
--- a/contrib/libs/pcre/pcre16/CMakeLists.darwin.txt
+++ b/contrib/libs/pcre/pcre16/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-pcre-pcre16)
target_compile_options(libs-pcre-pcre16 PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-pcre-pcre16 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/pcre16/CMakeLists.linux-aarch64.txt b/contrib/libs/pcre/pcre16/CMakeLists.linux-aarch64.txt
index b78003625e..22abfadba3 100644
--- a/contrib/libs/pcre/pcre16/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/pcre/pcre16/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-pcre-pcre16)
target_compile_options(libs-pcre-pcre16 PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-pcre-pcre16 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/pcre16/CMakeLists.linux.txt b/contrib/libs/pcre/pcre16/CMakeLists.linux.txt
index b78003625e..22abfadba3 100644
--- a/contrib/libs/pcre/pcre16/CMakeLists.linux.txt
+++ b/contrib/libs/pcre/pcre16/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-pcre-pcre16)
target_compile_options(libs-pcre-pcre16 PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-pcre-pcre16 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/pcre32/CMakeLists.darwin.txt b/contrib/libs/pcre/pcre32/CMakeLists.darwin.txt
index 17a2b52dea..2be6098116 100644
--- a/contrib/libs/pcre/pcre32/CMakeLists.darwin.txt
+++ b/contrib/libs/pcre/pcre32/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-pcre-pcre32)
target_compile_options(libs-pcre-pcre32 PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-pcre-pcre32 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/pcre32/CMakeLists.linux-aarch64.txt b/contrib/libs/pcre/pcre32/CMakeLists.linux-aarch64.txt
index 68838f4ca3..f8269b2859 100644
--- a/contrib/libs/pcre/pcre32/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/pcre/pcre32/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-pcre-pcre32)
target_compile_options(libs-pcre-pcre32 PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-pcre-pcre32 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/pcre/pcre32/CMakeLists.linux.txt b/contrib/libs/pcre/pcre32/CMakeLists.linux.txt
index 68838f4ca3..f8269b2859 100644
--- a/contrib/libs/pcre/pcre32/CMakeLists.linux.txt
+++ b/contrib/libs/pcre/pcre32/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-pcre-pcre32)
target_compile_options(libs-pcre-pcre32 PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-pcre-pcre32 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/pcre
diff --git a/contrib/libs/poco/Crypto/CMakeLists.darwin.txt b/contrib/libs/poco/Crypto/CMakeLists.darwin.txt
index 2a001dfecd..373792d7c1 100644
--- a/contrib/libs/poco/Crypto/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/Crypto/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-Crypto PRIVATE
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Crypto PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
diff --git a/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt
index 8a9cbca8ab..0638e0d219 100644
--- a/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/Crypto/CMakeLists.linux-aarch64.txt
@@ -16,7 +16,7 @@ target_compile_options(libs-poco-Crypto PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Crypto PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
diff --git a/contrib/libs/poco/Crypto/CMakeLists.linux.txt b/contrib/libs/poco/Crypto/CMakeLists.linux.txt
index 8a9cbca8ab..0638e0d219 100644
--- a/contrib/libs/poco/Crypto/CMakeLists.linux.txt
+++ b/contrib/libs/poco/Crypto/CMakeLists.linux.txt
@@ -16,7 +16,7 @@ target_compile_options(libs-poco-Crypto PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Crypto PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
diff --git a/contrib/libs/poco/Foundation/CMakeLists.darwin.txt b/contrib/libs/poco/Foundation/CMakeLists.darwin.txt
index 697448dce5..7560f85528 100644
--- a/contrib/libs/poco/Foundation/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/Foundation/CMakeLists.darwin.txt
@@ -18,7 +18,7 @@ target_compile_options(libs-poco-Foundation PRIVATE
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Foundation PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
diff --git a/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt
index 47869129f4..781a72b811 100644
--- a/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/Foundation/CMakeLists.linux-aarch64.txt
@@ -19,7 +19,7 @@ target_compile_options(libs-poco-Foundation PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Foundation PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
diff --git a/contrib/libs/poco/Foundation/CMakeLists.linux.txt b/contrib/libs/poco/Foundation/CMakeLists.linux.txt
index 47869129f4..781a72b811 100644
--- a/contrib/libs/poco/Foundation/CMakeLists.linux.txt
+++ b/contrib/libs/poco/Foundation/CMakeLists.linux.txt
@@ -19,7 +19,7 @@ target_compile_options(libs-poco-Foundation PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Foundation PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
diff --git a/contrib/libs/poco/JSON/CMakeLists.darwin.txt b/contrib/libs/poco/JSON/CMakeLists.darwin.txt
index c3ab9805c2..1fa7298700 100644
--- a/contrib/libs/poco/JSON/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/JSON/CMakeLists.darwin.txt
@@ -14,7 +14,7 @@ target_compile_options(libs-poco-JSON PRIVATE
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-JSON PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
diff --git a/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt
index 34ee8bfcc6..03b67f2fd7 100644
--- a/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/JSON/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-JSON PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-JSON PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
diff --git a/contrib/libs/poco/JSON/CMakeLists.linux.txt b/contrib/libs/poco/JSON/CMakeLists.linux.txt
index 34ee8bfcc6..03b67f2fd7 100644
--- a/contrib/libs/poco/JSON/CMakeLists.linux.txt
+++ b/contrib/libs/poco/JSON/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-JSON PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-JSON PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
diff --git a/contrib/libs/poco/Net/CMakeLists.darwin.txt b/contrib/libs/poco/Net/CMakeLists.darwin.txt
index eaca0ce904..aa58db8398 100644
--- a/contrib/libs/poco/Net/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/Net/CMakeLists.darwin.txt
@@ -14,7 +14,7 @@ target_compile_options(libs-poco-Net PRIVATE
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Net PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
diff --git a/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt
index 38f15f1a72..cf62029e71 100644
--- a/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/Net/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-Net PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Net PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
diff --git a/contrib/libs/poco/Net/CMakeLists.linux.txt b/contrib/libs/poco/Net/CMakeLists.linux.txt
index 38f15f1a72..cf62029e71 100644
--- a/contrib/libs/poco/Net/CMakeLists.linux.txt
+++ b/contrib/libs/poco/Net/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-Net PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Net PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt
index a1c879873e..17bb3475b6 100644
--- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-NetSSL_OpenSSL PRIVATE
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt
index a450380aa8..7eab9ec512 100644
--- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux-aarch64.txt
@@ -16,7 +16,7 @@ target_compile_options(libs-poco-NetSSL_OpenSSL PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt
index a450380aa8..7eab9ec512 100644
--- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt
+++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt
@@ -16,7 +16,7 @@ target_compile_options(libs-poco-NetSSL_OpenSSL PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
diff --git a/contrib/libs/poco/Util/CMakeLists.darwin.txt b/contrib/libs/poco/Util/CMakeLists.darwin.txt
index c023b6b522..207a020c36 100644
--- a/contrib/libs/poco/Util/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/Util/CMakeLists.darwin.txt
@@ -14,7 +14,7 @@ target_compile_options(libs-poco-Util PRIVATE
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Util PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
diff --git a/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt
index fca40e9796..56c49ac4c6 100644
--- a/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/Util/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-Util PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Util PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
diff --git a/contrib/libs/poco/Util/CMakeLists.linux.txt b/contrib/libs/poco/Util/CMakeLists.linux.txt
index fca40e9796..56c49ac4c6 100644
--- a/contrib/libs/poco/Util/CMakeLists.linux.txt
+++ b/contrib/libs/poco/Util/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(libs-poco-Util PRIVATE
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Util PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
diff --git a/contrib/libs/poco/XML/CMakeLists.darwin.txt b/contrib/libs/poco/XML/CMakeLists.darwin.txt
index 1734b06f42..4bc521f819 100644
--- a/contrib/libs/poco/XML/CMakeLists.darwin.txt
+++ b/contrib/libs/poco/XML/CMakeLists.darwin.txt
@@ -17,7 +17,7 @@ target_compile_options(libs-poco-XML PRIVATE
-DXML_DTD
-DXML_NS
-DPOCO_OS_FAMILY_UNIX
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-XML PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/expat
diff --git a/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt b/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt
index 6e4c494c02..803edf0122 100644
--- a/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/poco/XML/CMakeLists.linux-aarch64.txt
@@ -18,7 +18,7 @@ target_compile_options(libs-poco-XML PRIVATE
-DXML_NS
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-XML PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/expat
diff --git a/contrib/libs/poco/XML/CMakeLists.linux.txt b/contrib/libs/poco/XML/CMakeLists.linux.txt
index 6e4c494c02..803edf0122 100644
--- a/contrib/libs/poco/XML/CMakeLists.linux.txt
+++ b/contrib/libs/poco/XML/CMakeLists.linux.txt
@@ -18,7 +18,7 @@ target_compile_options(libs-poco-XML PRIVATE
-DXML_NS
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-XML PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/expat
diff --git a/contrib/libs/protobuf/CMakeLists.darwin.txt b/contrib/libs/protobuf/CMakeLists.darwin.txt
index f0ac46e99e..940e5e3a99 100644
--- a/contrib/libs/protobuf/CMakeLists.darwin.txt
+++ b/contrib/libs/protobuf/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-protobuf PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protobuf PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
@@ -159,7 +159,7 @@ target_compile_options(contrib-libs-protobuf.global PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protobuf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
diff --git a/contrib/libs/protobuf/CMakeLists.linux-aarch64.txt b/contrib/libs/protobuf/CMakeLists.linux-aarch64.txt
index 85d6338b80..af2c6d8404 100644
--- a/contrib/libs/protobuf/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/protobuf/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-protobuf PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protobuf PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
@@ -160,7 +160,7 @@ target_compile_options(contrib-libs-protobuf.global PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protobuf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
diff --git a/contrib/libs/protobuf/CMakeLists.linux.txt b/contrib/libs/protobuf/CMakeLists.linux.txt
index 85d6338b80..af2c6d8404 100644
--- a/contrib/libs/protobuf/CMakeLists.linux.txt
+++ b/contrib/libs/protobuf/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(contrib-libs-protobuf PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protobuf PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
@@ -160,7 +160,7 @@ target_compile_options(contrib-libs-protobuf.global PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protobuf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
diff --git a/contrib/libs/protoc/CMakeLists.darwin.txt b/contrib/libs/protoc/CMakeLists.darwin.txt
index 8a58f34f7c..4cce10e7b9 100644
--- a/contrib/libs/protoc/CMakeLists.darwin.txt
+++ b/contrib/libs/protoc/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-protoc PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protoc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
diff --git a/contrib/libs/protoc/CMakeLists.linux-aarch64.txt b/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
index 863f30acaa..b6a3dcc4bc 100644
--- a/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-protoc PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protoc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
diff --git a/contrib/libs/protoc/CMakeLists.linux.txt b/contrib/libs/protoc/CMakeLists.linux.txt
index 863f30acaa..b6a3dcc4bc 100644
--- a/contrib/libs/protoc/CMakeLists.linux.txt
+++ b/contrib/libs/protoc/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-protoc PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protoc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
diff --git a/contrib/libs/re2/CMakeLists.darwin.txt b/contrib/libs/re2/CMakeLists.darwin.txt
index c511f1b1ce..0c93126cd1 100644
--- a/contrib/libs/re2/CMakeLists.darwin.txt
+++ b/contrib/libs/re2/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-re2)
target_compile_options(contrib-libs-re2 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-re2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/re2/include
diff --git a/contrib/libs/re2/CMakeLists.linux-aarch64.txt b/contrib/libs/re2/CMakeLists.linux-aarch64.txt
index 006e3d8ab5..ed757c6e17 100644
--- a/contrib/libs/re2/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/re2/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-re2)
target_compile_options(contrib-libs-re2 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-re2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/re2/include
diff --git a/contrib/libs/re2/CMakeLists.linux.txt b/contrib/libs/re2/CMakeLists.linux.txt
index 006e3d8ab5..ed757c6e17 100644
--- a/contrib/libs/re2/CMakeLists.linux.txt
+++ b/contrib/libs/re2/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-re2)
target_compile_options(contrib-libs-re2 PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-re2 PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/re2/include
diff --git a/contrib/libs/snappy/CMakeLists.darwin.txt b/contrib/libs/snappy/CMakeLists.darwin.txt
index 2a32ec6d70..5e20f5ea3d 100644
--- a/contrib/libs/snappy/CMakeLists.darwin.txt
+++ b/contrib/libs/snappy/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-snappy)
target_compile_options(contrib-libs-snappy PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-snappy PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/snappy/include
diff --git a/contrib/libs/snappy/CMakeLists.linux-aarch64.txt b/contrib/libs/snappy/CMakeLists.linux-aarch64.txt
index cad80a46e4..732c5e5474 100644
--- a/contrib/libs/snappy/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/snappy/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-snappy)
target_compile_options(contrib-libs-snappy PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-snappy PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/snappy/include
diff --git a/contrib/libs/snappy/CMakeLists.linux.txt b/contrib/libs/snappy/CMakeLists.linux.txt
index cad80a46e4..732c5e5474 100644
--- a/contrib/libs/snappy/CMakeLists.linux.txt
+++ b/contrib/libs/snappy/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-snappy)
target_compile_options(contrib-libs-snappy PRIVATE
-DHAVE_CONFIG_H
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-snappy PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/snappy/include
diff --git a/contrib/libs/t1ha/CMakeLists.darwin.txt b/contrib/libs/t1ha/CMakeLists.darwin.txt
index f9c6854b18..cf6ef99511 100644
--- a/contrib/libs/t1ha/CMakeLists.darwin.txt
+++ b/contrib/libs/t1ha/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-t1ha)
target_compile_options(contrib-libs-t1ha PRIVATE
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_sources(contrib-libs-t1ha PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/t1ha/src/t1ha0.c
diff --git a/contrib/libs/t1ha/CMakeLists.linux-aarch64.txt b/contrib/libs/t1ha/CMakeLists.linux-aarch64.txt
index d7267d6036..9ac18409d0 100644
--- a/contrib/libs/t1ha/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/t1ha/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-t1ha)
target_compile_options(contrib-libs-t1ha PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-t1ha PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/t1ha/CMakeLists.linux.txt b/contrib/libs/t1ha/CMakeLists.linux.txt
index cd8e87adfd..7f2893caa3 100644
--- a/contrib/libs/t1ha/CMakeLists.linux.txt
+++ b/contrib/libs/t1ha/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-t1ha)
target_compile_options(contrib-libs-t1ha PRIVATE
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-t1ha PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/tbb/CMakeLists.darwin.txt b/contrib/libs/tbb/CMakeLists.darwin.txt
index b57642ebf4..a34e19b4a0 100644
--- a/contrib/libs/tbb/CMakeLists.darwin.txt
+++ b/contrib/libs/tbb/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(contrib-libs-tbb PRIVATE
-DUSE_PTHREAD
-D__TBB_USE_ITT_NOTIFY
-DDO_ITT_NOTIFY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-tbb PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include
diff --git a/contrib/libs/tbb/CMakeLists.linux-aarch64.txt b/contrib/libs/tbb/CMakeLists.linux-aarch64.txt
index b5646c2de3..84cddf2705 100644
--- a/contrib/libs/tbb/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/tbb/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-tbb)
target_compile_options(contrib-libs-tbb PRIVATE
-D__TBB_BUILD
-DUSE_PTHREAD
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-tbb PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include
diff --git a/contrib/libs/tbb/CMakeLists.linux.txt b/contrib/libs/tbb/CMakeLists.linux.txt
index cc84ba1734..4e7404a3da 100644
--- a/contrib/libs/tbb/CMakeLists.linux.txt
+++ b/contrib/libs/tbb/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(contrib-libs-tbb PRIVATE
-DUSE_PTHREAD
-D__TBB_USE_ITT_NOTIFY
-DDO_ITT_NOTIFY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-tbb PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include
diff --git a/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt b/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt
index 3284b67fd4..ffdc4ae396 100644
--- a/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/tcmalloc/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_subdirectory(malloc_extension)
add_library(contrib-libs-tcmalloc)
target_compile_options(contrib-libs-tcmalloc PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-tcmalloc PUBLIC
contrib-libs-linux-headers
@@ -26,7 +26,7 @@ target_sources(contrib-libs-tcmalloc PRIVATE
add_global_library_for(contrib-libs-tcmalloc.global contrib-libs-tcmalloc)
target_compile_options(contrib-libs-tcmalloc.global PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-tcmalloc.global PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/tcmalloc/CMakeLists.linux.txt b/contrib/libs/tcmalloc/CMakeLists.linux.txt
index d593b461a7..53fb70fafa 100644
--- a/contrib/libs/tcmalloc/CMakeLists.linux.txt
+++ b/contrib/libs/tcmalloc/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ add_subdirectory(no_percpu_cache)
add_library(contrib-libs-tcmalloc)
target_compile_options(contrib-libs-tcmalloc PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-tcmalloc PUBLIC
contrib-libs-linux-headers
@@ -27,7 +27,7 @@ target_sources(contrib-libs-tcmalloc PRIVATE
add_global_library_for(contrib-libs-tcmalloc.global contrib-libs-tcmalloc)
target_compile_options(contrib-libs-tcmalloc.global PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-tcmalloc.global PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.darwin.txt b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.darwin.txt
index 1ac50c58ef..ff72551b97 100644
--- a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.darwin.txt
+++ b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-tcmalloc-malloc_extension)
target_compile_options(libs-tcmalloc-malloc_extension PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-tcmalloc-malloc_extension PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
diff --git a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux-aarch64.txt b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux-aarch64.txt
index 73f0cf0e7c..4fc12f623d 100644
--- a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-tcmalloc-malloc_extension)
target_compile_options(libs-tcmalloc-malloc_extension PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-tcmalloc-malloc_extension PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
diff --git a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt
index 73f0cf0e7c..4fc12f623d 100644
--- a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt
+++ b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-tcmalloc-malloc_extension)
target_compile_options(libs-tcmalloc-malloc_extension PRIVATE
-DTCMALLOC_256K_PAGES
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-tcmalloc-malloc_extension PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
diff --git a/contrib/libs/tcmalloc/no_percpu_cache/CMakeLists.linux.txt b/contrib/libs/tcmalloc/no_percpu_cache/CMakeLists.linux.txt
index 78c8390eab..7a19810cba 100644
--- a/contrib/libs/tcmalloc/no_percpu_cache/CMakeLists.linux.txt
+++ b/contrib/libs/tcmalloc/no_percpu_cache/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(libs-tcmalloc-no_percpu_cache)
target_compile_options(libs-tcmalloc-no_percpu_cache PRIVATE
-DTCMALLOC_256K_PAGES
-DTCMALLOC_DEPRECATED_PERTHREAD
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(libs-tcmalloc-no_percpu_cache PUBLIC
contrib-libs-linux-headers
@@ -27,7 +27,7 @@ add_global_library_for(libs-tcmalloc-no_percpu_cache.global libs-tcmalloc-no_per
target_compile_options(libs-tcmalloc-no_percpu_cache.global PRIVATE
-DTCMALLOC_256K_PAGES
-DTCMALLOC_DEPRECATED_PERTHREAD
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(libs-tcmalloc-no_percpu_cache.global PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/utf8proc/CMakeLists.darwin.txt b/contrib/libs/utf8proc/CMakeLists.darwin.txt
index b676337a71..da6056a44b 100644
--- a/contrib/libs/utf8proc/CMakeLists.darwin.txt
+++ b/contrib/libs/utf8proc/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-utf8proc)
target_compile_options(contrib-libs-utf8proc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_sources(contrib-libs-utf8proc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/utf8proc/utf8proc.c
diff --git a/contrib/libs/utf8proc/CMakeLists.linux-aarch64.txt b/contrib/libs/utf8proc/CMakeLists.linux-aarch64.txt
index d1ed61d40f..321e8eac3f 100644
--- a/contrib/libs/utf8proc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/utf8proc/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-utf8proc)
target_compile_options(contrib-libs-utf8proc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-utf8proc PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/utf8proc/CMakeLists.linux.txt b/contrib/libs/utf8proc/CMakeLists.linux.txt
index d1ed61d40f..321e8eac3f 100644
--- a/contrib/libs/utf8proc/CMakeLists.linux.txt
+++ b/contrib/libs/utf8proc/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-utf8proc)
target_compile_options(contrib-libs-utf8proc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-utf8proc PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/xxhash/CMakeLists.darwin.txt b/contrib/libs/xxhash/CMakeLists.darwin.txt
index 1b87d3be07..2afaa79b4e 100644
--- a/contrib/libs/xxhash/CMakeLists.darwin.txt
+++ b/contrib/libs/xxhash/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-xxhash)
target_compile_options(contrib-libs-xxhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_sources(contrib-libs-xxhash PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/xxhash/xxhash.c
diff --git a/contrib/libs/xxhash/CMakeLists.linux-aarch64.txt b/contrib/libs/xxhash/CMakeLists.linux-aarch64.txt
index 616605bf4d..0bc17080e1 100644
--- a/contrib/libs/xxhash/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/xxhash/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-xxhash)
target_compile_options(contrib-libs-xxhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-xxhash PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/xxhash/CMakeLists.linux.txt b/contrib/libs/xxhash/CMakeLists.linux.txt
index 616605bf4d..0bc17080e1 100644
--- a/contrib/libs/xxhash/CMakeLists.linux.txt
+++ b/contrib/libs/xxhash/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-xxhash)
target_compile_options(contrib-libs-xxhash PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-xxhash PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/zstd/CMakeLists.darwin.txt b/contrib/libs/zstd/CMakeLists.darwin.txt
index bcad584b1d..f88c0aa5f3 100644
--- a/contrib/libs/zstd/CMakeLists.darwin.txt
+++ b/contrib/libs/zstd/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-zstd PRIVATE
-DZSTD_LEGACY_SUPPORT=1
-DZSTD_MULTITHREAD
-DDYNAMIC_BMI2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-zstd PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib
diff --git a/contrib/libs/zstd/CMakeLists.linux-aarch64.txt b/contrib/libs/zstd/CMakeLists.linux-aarch64.txt
index 64a4e0e39e..73964f7810 100644
--- a/contrib/libs/zstd/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/zstd/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(contrib-libs-zstd)
target_compile_options(contrib-libs-zstd PRIVATE
-DZSTD_LEGACY_SUPPORT=1
-DZSTD_MULTITHREAD
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-zstd PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib
diff --git a/contrib/libs/zstd/CMakeLists.linux.txt b/contrib/libs/zstd/CMakeLists.linux.txt
index eddaadd421..1945bc36fe 100644
--- a/contrib/libs/zstd/CMakeLists.linux.txt
+++ b/contrib/libs/zstd/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-zstd PRIVATE
-DZSTD_LEGACY_SUPPORT=1
-DZSTD_MULTITHREAD
-DDYNAMIC_BMI2
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-zstd PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib
diff --git a/contrib/libs/zstd06/CMakeLists.darwin.txt b/contrib/libs/zstd06/CMakeLists.darwin.txt
index c452d164b3..b20e4ae1f5 100644
--- a/contrib/libs/zstd06/CMakeLists.darwin.txt
+++ b/contrib/libs/zstd06/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-zstd06)
target_compile_options(contrib-libs-zstd06 PRIVATE
-DZSTD_LEGACY_SUPPORT=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-zstd06 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/zstd06
diff --git a/contrib/libs/zstd06/CMakeLists.linux-aarch64.txt b/contrib/libs/zstd06/CMakeLists.linux-aarch64.txt
index bbfa2df5f6..2934739ddc 100644
--- a/contrib/libs/zstd06/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/zstd06/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-zstd06)
target_compile_options(contrib-libs-zstd06 PRIVATE
-DZSTD_LEGACY_SUPPORT=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-zstd06 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/zstd06
diff --git a/contrib/libs/zstd06/CMakeLists.linux.txt b/contrib/libs/zstd06/CMakeLists.linux.txt
index bbfa2df5f6..2934739ddc 100644
--- a/contrib/libs/zstd06/CMakeLists.linux.txt
+++ b/contrib/libs/zstd06/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-zstd06)
target_compile_options(contrib-libs-zstd06 PRIVATE
-DZSTD_LEGACY_SUPPORT=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-zstd06 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/zstd06