CMake/Tests/ModuleDefinition
William R. Dieter 3640842df2 Tests: Update ModuleDefinition for IntelLLVM MSVC Frontend Variant
IntelLLVM for MSVC uses the compiler for linking.  The /DEF flag needs
to be passed to the linker, and the compiler does not accept it, unless
it is prefixed with `/Qoption,link,`.

Rather than explicitly set the LINK_FLAGS target property, as is done
for other MSVC frontend variants, add the .def file to the sources
for `add_library`.  `add_library` will wrap the `/DEF` flag using
`CMAKE_${lang}_LINKER_WRAPPER_FLAG`.  Presumably, this should work
for any MSVC front end, but leave the original test to avoid changing
a test that is working.

Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
2022-08-01 19:34:49 -04:00
..
CMakeLists.txt Tests: Update ModuleDefinition for IntelLLVM MSVC Frontend Variant 2022-08-01 19:34:49 -04:00
example_dll_2.c
example_dll_2.def
example_dll_gen.c
example_dll_gen.def.in
example_dll.c
example_dll.def
example_exe.c
example_exe.def
example_mod_1.c Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
split_dll_1.def
split_dll_2.def
split_dll.c