diff options
author | Jason Perkins <starkos@industriousone.com> | 2013-02-21 19:22:40 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2013-02-21 19:22:40 +0400 |
commit | 8c123337a2682c4a681dc6124a73f53e11c74059 (patch) | |
tree | 17f67841e0d41c60d2e0b80b801a96f6d5c9ac4c /tests | |
parent | 7fd99f37c98ae37d053f3997da7a96dea79e092d (diff) |
Fix .def file support for VS2010 (Riccardo Ghetta)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actions/vstudio/vc2010/test_link_settings.lua | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ </Link> ]] end + + +-- +-- Correctly handle module definition (.def) files. +-- + + function suite.recognizesModuleDefinitionFile() + files { "hello.cpp", "hello.def" } + prepare() + test.capture [[ + <Link> + <SubSystem>Console</SubSystem> + <GenerateDebugInformation>false</GenerateDebugInformation> + <OutputFile>$(OutDir)MyProject.exe</OutputFile> + <EntryPointSymbol>mainCRTStartup</EntryPointSymbol> + <ModuleDefinitionFile>hello.def</ModuleDefinitionFile> + </Link> + ]] + end |