summaryrefslogtreecommitdiffstats
path: root/Tests/ModuleDefinition/split_dll_1.def
diff options
context:
space:
mode:
authorWilliam R. Dieter <william.r.dieter@intel.com>2022-06-25 04:46:19 (GMT)
committerWilliam R. Dieter <william.r.dieter@intel.com>2022-08-01 23:34:49 (GMT)
commit3640842df23de476506d1529caf1736052dbcb38 (patch)
tree7d25e7f5512177924e05fcc64404133f93476668 /Tests/ModuleDefinition/split_dll_1.def
parent5d5a7123034361b6cacff96d3ed20d2bb78c33cc (diff)
downloadCMake-3640842df23de476506d1529caf1736052dbcb38.zip
CMake-3640842df23de476506d1529caf1736052dbcb38.tar.gz
CMake-3640842df23de476506d1529caf1736052dbcb38.tar.bz2
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>
Diffstat (limited to 'Tests/ModuleDefinition/split_dll_1.def')
0 files changed, 0 insertions, 0 deletions