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:
authorOliver Schneider <oliver@assarbad.net>2019-11-06 23:09:35 +0300
committerOliver Schneider <oliver@assarbad.net>2019-11-06 23:09:35 +0300
commit6e74d01f94cba36a48fa7faee0e03ae213ba2bb7 (patch)
treeca8f35811b374b63ff036b6cad39a6c9fba8ba72 /premake4.lua
parentcb37cf2f3f9552d47a0070cd06c8e7c2bc931b76 (diff)
Minor fix in the premake4.lua
--HG-- branch : vs2019_support
Diffstat (limited to 'premake4.lua')
-rw-r--r--premake4.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/premake4.lua b/premake4.lua
index c930eb9..4360dd9 100644
--- a/premake4.lua
+++ b/premake4.lua
@@ -204,7 +204,7 @@ do
premake.project.getbasename = function(prjname, pattern)
-- The below is used to insert the .vs(8|9|10|11|12|14|15) into the file names for projects and solutions
if _ACTION then
- name_map = {vs2002 = "vs7", vs2003 = "vs7_1", vs2005 = "vs8", vs2008 = "vs9", vs2010 = "vs10", vs2012 = "vs11", vs2013 = "vs12", vs2015 = "vs14", vs2017 = "vs15"}
+ name_map = {vs2002 = "vs7", vs2003 = "vs7_1", vs2005 = "vs8", vs2008 = "vs9", vs2010 = "vs10", vs2012 = "vs11", vs2013 = "vs12", vs2015 = "vs14", vs2017 = "vs15", vs2019 = "vs16"}
if name_map[_ACTION] then
pattern = pattern:gsub("%%%%", "%%%%." .. name_map[_ACTION])
else