diff options
Diffstat (limited to '3rdparty/genie/src/tools/dotnet.lua')
-rw-r--r-- | 3rdparty/genie/src/tools/dotnet.lua | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/3rdparty/genie/src/tools/dotnet.lua b/3rdparty/genie/src/tools/dotnet.lua index 69feffa2599..bc7ca36c945 100644 --- a/3rdparty/genie/src/tools/dotnet.lua +++ b/3rdparty/genie/src/tools/dotnet.lua @@ -4,10 +4,10 @@ -- Copyright (c) 2002-2009 Jason Perkins and the Premake project -- - + premake.dotnet = { } premake.dotnet.namestyle = "windows" - + -- -- Translation of Premake flags into CSC flags @@ -40,9 +40,9 @@ return "None" end end - - - + + + -- -- Returns the compiler filename (they all use the same arguments) -- @@ -51,13 +51,7 @@ if (_OPTIONS.dotnet == "msnet") then return "csc" elseif (_OPTIONS.dotnet == "mono") then - if (cfg.framework <= "1.1") then - return "mcs" - elseif (cfg.framework >= "4.0") then - return "dmcs" - else - return "gmcs" - end + return "mcs" else return "cscc" end @@ -71,7 +65,7 @@ function premake.dotnet.getflags(cfg) local result = table.translate(cfg.flags, flags) - return result + return result end @@ -88,4 +82,4 @@ elseif (cfg.kind == "SharedLib") then return "Library" end - end
\ No newline at end of file + end |