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

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarkos <none@none>2009-04-24 18:34:54 +0400
committerstarkos <none@none>2009-04-24 18:34:54 +0400
commit7ab0097c61fceeb1ab4a7ac5c57de8c379c3a167 (patch)
tree8af9d25d95f2070ac6bdca3238b572e98fdb3aca /tests/test_gmake_cpp.lua
parent11064958511f31fe4b87be240de5b420db5ed322 (diff)
Refactored handling of configuration names
Diffstat (limited to 'tests/test_gmake_cpp.lua')
-rw-r--r--tests/test_gmake_cpp.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_gmake_cpp.lua b/tests/test_gmake_cpp.lua
index 91a4fbf..b56084d 100644
--- a/tests/test_gmake_cpp.lua
+++ b/tests/test_gmake_cpp.lua
@@ -21,7 +21,6 @@
kind "ConsoleApp"
_ACTION = "gmake"
- _OPTIONS.cc = "gcc"
_OPTIONS.os = "linux"
end
@@ -35,7 +34,7 @@
function T.gmake_cpp.BasicCfgBlock()
prepare()
local cfg = premake.getconfig(prj, "Debug")
- premake.gmake_cpp_config(cfg)
+ premake.gmake_cpp_config(cfg, premake.gcc)
test.capture [[
ifeq ($(config),debug)
TARGETDIR = .
@@ -65,7 +64,7 @@ endif
function T.gmake_cpp.PlatformSpecificBlock()
prepare()
local cfg = premake.getconfig(prj, "Debug", "x64")
- premake.gmake_cpp_config(cfg)
+ premake.gmake_cpp_config(cfg, premake.gcc)
test.capture [[
ifeq ($(config),debug64)
TARGETDIR = .