From cf22237c69a46a9f5420c63e6844dd38fba595ee Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 10 Feb 2021 18:20:28 -0500 Subject: Help: clarify availability of the MSVC_IDE variable --- Help/variable/MSVC_IDE.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v0.12