Files
node/tools
a97ff753ab build: add option to enable clang-cl on Windows
Most changes are gated by the `clang==1` condition to avoid breaking
MSVC builds.

Select C/C++ language standard with ClCompile options.
This avoids passing the `-std:c++20` flag while compiling C code.
Do it only under clang option to avoid breaking addons until node-gyp
supports the new LanguageStandard options.

Disable precompiled header configuration for now as it doesn't seem to
work with clang-cl.

Disable C++20 warnings emitted by the Visual Studio C++ STL.
They're very noisy and not our responsibility to fix.

Co-authored-by: Daniel Lemire <daniel@lemire.me>
Co-authored-by: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
PR-URL: https://github.com/nodejs/node/pull/52870
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-05-15 08:41:49 +02:00
..
2024-05-11 18:55:50 +02:00
2024-04-29 22:46:27 +02:00
…
2024-05-08 07:12:37 +02:00
2023-07-12 14:40:57 +00:00
2024-01-06 20:58:03 -06:00
2024-05-08 09:02:02 +02:00
2023-11-11 09:51:05 +00:00