diff options
author | Brad King <brad.king@kitware.com> | 2021-02-12 11:54:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-02-12 11:54:35 (GMT) |
commit | 36b0cc795850b73a1777ffc9bad435ce07e2c607 (patch) | |
tree | 2b708836f8493822fbd7ecd3661a0612d3bbec87 | |
parent | a86cd9cb3c13e109cf820136eacea5883122ae75 (diff) | |
parent | cf22237c69a46a9f5420c63e6844dd38fba595ee (diff) | |
download | CMake-36b0cc795850b73a1777ffc9bad435ce07e2c607.zip CMake-36b0cc795850b73a1777ffc9bad435ce07e2c607.tar.gz CMake-36b0cc795850b73a1777ffc9bad435ce07e2c607.tar.bz2 |
Merge topic 'Help-MSVC_IDE-avail-notice' into release-3.20
cf22237c69 Help: clarify availability of the MSVC_IDE variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5800
-rw-r--r-- | Help/variable/MSVC_IDE.rst | 7 |
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. |