mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-20 03:38:05 +08: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.