Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarkos <unknown>2009-06-08 19:36:28 +0400
committerstarkos <unknown>2009-06-08 19:36:28 +0400
commit2e920a1ef1b8e3078c1c87b66f9965c08ee14940 (patch)
tree2ca5b139973a70b32295196251c94efb639e3b5a /tests/test_project.lua
parent1da7795d67d5134a51b9851d6a5ee2be4e1b171d (diff)
Fixed naming of system libraries in Visual Studio link step
Diffstat (limited to 'tests/test_project.lua')
-rw-r--r--tests/test_project.lua17
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