summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-02-10 23:20:28 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-02-11 14:43:21 (GMT)
commitcf22237c69a46a9f5420c63e6844dd38fba595ee (patch)
treeaf9180e87ddf31bf940ab0c11f5a8487d323b4d1 /Help
parentb1e544dd64061439e980d9ed513fefa32dbb42ba (diff)
downloadCMake-cf22237c69a46a9f5420c63e6844dd38fba595ee.zip
CMake-cf22237c69a46a9f5420c63e6844dd38fba595ee.tar.gz
CMake-cf22237c69a46a9f5420c63e6844dd38fba595ee.tar.bz2
Help: clarify availability of the MSVC_IDE variable
Diffstat (limited to 'Help')
-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 027d1bc..18e9983 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.