From 8c123337a2682c4a681dc6124a73f53e11c74059 Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Thu, 21 Feb 2013 10:22:40 -0500 Subject: Fix .def file support for VS2010 (Riccardo Ghetta) --- tests/actions/vstudio/vc2010/test_link_settings.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tests') diff --git a/tests/actions/vstudio/vc2010/test_link_settings.lua b/tests/actions/vstudio/vc2010/test_link_settings.lua index 46f02b2..c33345b 100644 --- a/tests/actions/vstudio/vc2010/test_link_settings.lua +++ b/tests/actions/vstudio/vc2010/test_link_settings.lua @@ -208,3 +208,22 @@ ]] end + + +-- +-- Correctly handle module definition (.def) files. +-- + + function suite.recognizesModuleDefinitionFile() + files { "hello.cpp", "hello.def" } + prepare() + test.capture [[ + + Console + false + $(OutDir)MyProject.exe + mainCRTStartup + hello.def + + ]] + end -- cgit v1.2.3