diff options
author | starkos <unknown> | 2009-06-08 19:36:28 +0400 |
---|---|---|
committer | starkos <unknown> | 2009-06-08 19:36:28 +0400 |
commit | 2e920a1ef1b8e3078c1c87b66f9965c08ee14940 (patch) | |
tree | 2ca5b139973a70b32295196251c94efb639e3b5a /tests/test_project.lua | |
parent | 1da7795d67d5134a51b9851d6a5ee2be4e1b171d (diff) |
Fixed naming of system libraries in Visual Studio link step
Diffstat (limited to 'tests/test_project.lua')
-rw-r--r-- | tests/test_project.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test_project.lua b/tests/test_project.lua index 8b9f4b9..3e0d302 100644 --- a/tests/test_project.lua +++ b/tests/test_project.lua @@ -11,12 +11,29 @@ function T.project.setup() _ACTION = "gmake" cfg = {} + cfg.project = {} + cfg.language = "C++" cfg.files = {} cfg.trimpaths = {} + cfg.platform = "Native" result = "\n" end + +-- +-- premake.getlinks() tests +-- + + function T.project.getlinks_OnMscSystemLibs() + _OPTIONS.cc = "msc" + cfg.links = { "user32", "gdi32" } + result = premake.getlinks(cfg, "all", "fullpath") + test.isequal("user32.lib gdi32.lib", table.concat(result, " ")) + end + + + -- -- premake.walksources() tests |