f1b7e620f7
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
example_dll.c | ||
example_dll.def | ||
example_dll_2.c | ||
example_dll_2.def | ||
example_exe.c | ||
example_exe.def | ||
example_mod_1.c |