MSVC_IDEΒΆ

True when using the Microsoft Visual C++ 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 project() or enable_language() call which uses an MSVC-like compiler.