mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
CMake defines MSVC only for a VS compiler, but the Intel compiler adds the preprocessor definition _MSC_VER. Instead of relying on separate tests to decide whether to use example_dll_2, we do one test in CMake and then add our own preprocessor definition.