Help: clarify availability of the MSVC_IDE variable

This commit is contained in:
Ben Boeckel committed 2021-02-11 09:43:21 -05:00
1 parent b1e544dd64
commit cf22237c69
1 file changed
+7
+7
View File
@@ -5,3 +5,10 @@ MSVC_IDE
Set to ``true`` when the target platform is the Microsoft Visual C++ IDE, as
opposed to the command line compiler.
.. note::
This variable is only available after compiler detection has been performed,
so it is not available to toolchain files or before the first
:command:`project` or :command:`enable_language` call which uses an
MSVC-like compiler.