summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Help/variable/MSVC_IDE.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/variable/MSVC_IDE.rst b/Help/variable/MSVC_IDE.rst
index 027d1bc8c0..18e99833d0 100644
--- a/Help/variable/MSVC_IDE.rst
+++ b/Help/variable/MSVC_IDE.rst
@@ -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.