1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Help: clarify availability of the MSVC_IDE variable

This commit is contained in:
Ben Boeckel
2021-02-10 18:20:28 -05:00
parent b1e544dd64
commit cf22237c69

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.