diff --git a/build/premake/premake4/bin/release/premake4.exe b/build/premake/premake4/bin/release/premake4.exe
index 4852ecdcfc..404914a1dd 100644
Binary files a/build/premake/premake4/bin/release/premake4.exe and b/build/premake/premake4/bin/release/premake4.exe differ
diff --git a/build/premake/premake4/build/vs2008/Premake4.vcproj b/build/premake/premake4/build/vs2008/Premake4.vcproj
deleted file mode 100644
index ab0ce1c387..0000000000
--- a/build/premake/premake4/build/vs2008/Premake4.vcproj
+++ /dev/null
@@ -1,1043 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/build/premake/premake4/build/vs2010/Premake4.sln b/build/premake/premake4/build/vs2010/Premake4.sln
deleted file mode 100644
index 522883434f..0000000000
--- a/build/premake/premake4/build/vs2010/Premake4.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Premake4", "Premake4.vcxproj", "{027C0818-A605-2B34-89E9-2EB33B66370B}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Release|Win32 = Release|Win32
- Debug|Win32 = Debug|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {027C0818-A605-2B34-89E9-2EB33B66370B}.Release|Win32.ActiveCfg = Release|Win32
- {027C0818-A605-2B34-89E9-2EB33B66370B}.Release|Win32.Build.0 = Release|Win32
- {027C0818-A605-2B34-89E9-2EB33B66370B}.Debug|Win32.ActiveCfg = Debug|Win32
- {027C0818-A605-2B34-89E9-2EB33B66370B}.Debug|Win32.Build.0 = Debug|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/build/premake/premake4/build/vs2008/Premake4.sln b/build/premake/premake4/build/vs2013/Premake4.sln
similarity index 52%
rename from build/premake/premake4/build/vs2008/Premake4.sln
rename to build/premake/premake4/build/vs2013/Premake4.sln
index cfafd546c9..f0440475be 100644
--- a/build/premake/premake4/build/vs2008/Premake4.sln
+++ b/build/premake/premake4/build/vs2013/Premake4.sln
@@ -1,7 +1,7 @@
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Premake4", "Premake4.vcproj", "{A006C50E-CB10-D93F-EF73-546A6D088BE8}"
+Microsoft Visual Studio Solution File, Format Version 13.00
+# Visual Studio 2013
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Premake4", "Premake4.vcxproj", "{C01B3660-A453-4F42-B58C-F0B862AF8C1C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -9,10 +9,10 @@ Global
Debug|Win32 = Debug|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A006C50E-CB10-D93F-EF73-546A6D088BE8}.Release|Win32.ActiveCfg = Release|Win32
- {A006C50E-CB10-D93F-EF73-546A6D088BE8}.Release|Win32.Build.0 = Release|Win32
- {A006C50E-CB10-D93F-EF73-546A6D088BE8}.Debug|Win32.ActiveCfg = Debug|Win32
- {A006C50E-CB10-D93F-EF73-546A6D088BE8}.Debug|Win32.Build.0 = Debug|Win32
+ {C01B3660-A453-4F42-B58C-F0B862AF8C1C}.Release|Win32.ActiveCfg = Release|Win32
+ {C01B3660-A453-4F42-B58C-F0B862AF8C1C}.Release|Win32.Build.0 = Release|Win32
+ {C01B3660-A453-4F42-B58C-F0B862AF8C1C}.Debug|Win32.ActiveCfg = Debug|Win32
+ {C01B3660-A453-4F42-B58C-F0B862AF8C1C}.Debug|Win32.Build.0 = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/build/premake/premake4/build/vs2010/Premake4.vcxproj b/build/premake/premake4/build/vs2013/Premake4.vcxproj
similarity index 94%
rename from build/premake/premake4/build/vs2010/Premake4.vcxproj
rename to build/premake/premake4/build/vs2013/Premake4.vcxproj
index 964b11ec09..84b26d198f 100644
--- a/build/premake/premake4/build/vs2010/Premake4.vcxproj
+++ b/build/premake/premake4/build/vs2013/Premake4.vcxproj
@@ -11,7 +11,7 @@
- {027C0818-A605-2B34-89E9-2EB33B66370B}
+ {C01B3660-A453-4F42-B58C-F0B862AF8C1C}
Premake4
Win32Proj
@@ -20,11 +20,13 @@
Application
MultiByte
false
+ v120_xp
Application
MultiByte
true
+ v120_xp
@@ -107,228 +109,222 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
-
+
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/build/premake/premake4/build/vs2010/Premake4.vcxproj.filters b/build/premake/premake4/build/vs2013/Premake4.vcxproj.filters
similarity index 82%
rename from build/premake/premake4/build/vs2010/Premake4.vcxproj.filters
rename to build/premake/premake4/build/vs2013/Premake4.vcxproj.filters
index 7f82faddc6..c8352d3b56 100644
--- a/build/premake/premake4/build/vs2010/Premake4.vcxproj.filters
+++ b/build/premake/premake4/build/vs2013/Premake4.vcxproj.filters
@@ -2,187 +2,160 @@
- {9834E201-BB85-274E-CB97-0E1DCE22F464}
+ {36BA0540-A6A1-114F-89F3-042F36024844}
- {19DBA0F3-53E2-48E0-1C48-CD198CD0206D}
+ {FA5D4911-18C5-E44B-97AA-94331270D873}
- {8C44150A-2C6A-4C53-F31E-E8024ACECD69}
+ {BC8BA9DE-6170-EF4B-AA76-2273C329A3E4}
- {D8D89DF7-95AD-3231-525B-90F8BE4E0E00}
-
-
- {70403E38-F829-95C1-9A34-9241EBDAC86B}
-
-
- {1D8238AC-55BD-7574-BE7F-62963A5C6D30}
-
-
- {1ED16385-1521-E82C-6877-9862575D2092}
-
-
- {7804E521-170E-2977-257F-9EDAED4A1F70}
-
-
- {2572C6E9-8DDB-7EB5-7ED8-0F6C0AF38AE4}
-
-
- {359E9E3A-11AE-F32A-801C-401A098B676F}
-
-
- {A529DDCA-FC5F-84EA-D1A4-76CA4F0C0FEA}
-
-
- {7C651E59-9327-A27F-0247-BBE76AC97FA9}
-
-
- {9CA1C7D2-7E68-FB7E-00C0-628F435C9B2C}
-
-
- {C1B0F97A-57C0-9CB3-C226-2F8225403995}
-
-
- {20CF71BE-79CE-22F5-D15C-05D324195032}
-
-
- {DC9C7DC5-BC9B-6EF4-C751-933C857C2F5A}
-
-
- {C23EA566-EF26-2000-B3F0-AC6C33F24A0D}
-
-
- {D4912C33-6789-CC5E-DA49-8ED0D2C0ED96}
-
-
- {C0E5BBE9-4BA6-200F-E0AB-98B8DD00F39A}
-
-
- {CBF15AE2-4604-7CB9-8D75-BB569F7D20E3}
-
-
- {07B115D5-D7E7-2C78-870F-0CB4B216AD75}
+ {5C53251B-4541-0849-9C7B-807CA0D0554C}
- {4E2AAC03-91D5-CC81-9F66-C0D57555C4D1}
+ {537A43E1-A784-DF44-8869-FF09689E64FB}
-
- {B30943DA-5A2B-E2AC-F979-63E4098C3458}
+
+ {27AF517C-10D6-5C4F-A114-CCA3E2E417CD}
-
- {0FE40C59-8E44-927C-0C31-12BE0C85FE15}
+
+ {E36E9579-D1B5-4C4B-8597-C1BC428BE96B}
-
- {9A4C9648-E379-4F4C-D011-37584868CDBB}
+
+ {A766B337-8045-DA44-BF73-E8C2089012DA}
-
- {4ED539AC-EEC4-050F-7BE6-B08B60E9022F}
+
+ {3F536621-36C9-3043-AF39-153814F57430}
-
- {C748DF5F-7C9E-892A-DD8D-AF239B7DECDE}
+
+ {4EB65216-E256-C14B-BA94-2635DCED676B}
-
- {610B0C6C-AE49-5A3B-767A-44E04F578BD3}
+
+ {8EB2000D-3744-2A4D-AF31-24AC9660A207}
-
- {198FFD7A-98A3-27B1-AAF5-687A2B18C964}
+
+ {6682BEBB-F371-8147-BC19-9517F943B28F}
-
- {F280199F-E96B-A837-54B4-AB8BB1E9EBF0}
+
+ {B39B9E1D-A0D8-6B4A-85FD-1B1D7B280012}
+
+
+ {E8945B2E-79D8-7149-B32E-AE3DBB150E49}
+
+
+ {390645CE-5B7D-3E42-942D-78343FD35821}
+
+
+ {BC4F4D40-597C-F748-A666-2EDFA87150AD}
+
+
+ {0719453C-23E3-6345-B3DE-1218B5C12237}
+
+
+ {244F8DEA-E911-6948-BF29-2DB61556CA92}
+
+
+ {6993107F-6A69-B84A-99D8-6F338A127BCC}
+
+
+ {83AA069D-DDDF-974F-B32B-F5398FB5E77A}
+
+
+ {86F6ABC5-91A9-9949-9588-A5DA9BB558E5}
+
+
+ {38AB070D-9B03-9E46-8DE8-B0E5B34ACD23}
src\host
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
+
src\host\lua-5.1.4\src
src\host\lua-5.1.4\src
-
+
src\host\lua-5.1.4\src
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
+
src\host\lua-5.1.4\src
src\host\lua-5.1.4\src
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
src\host\lua-5.1.4\src
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
-
- src\host
-
-
- src\host
-
-
- src\host
-
-
- src\host
-
src\host
-
+
+ src\host
+
+
+ src\host
+
+
+ src\host
+
+
src\host
@@ -191,158 +164,305 @@
src\host
+
+ src\host
+
src\host
-
+
src\host
-
+
+ src\host
+
+
src\host
src\host
-
- src\host
-
src\host
-
- src\host\lua-5.1.4\src
+
+ src\host
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
- src\host\lua-5.1.4\src
-
-
+
src\host\lua-5.1.4\src
src\host\lua-5.1.4\src
-
- src\host\lua-5.1.4\src
-
-
+
src\host\lua-5.1.4\src
src\host\lua-5.1.4\src
-
+
src\host\lua-5.1.4\src
-
+
src\host\lua-5.1.4\src
-
+
src\host\lua-5.1.4\src
-
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
src\host\lua-5.1.4\src
src\host\lua-5.1.4\src
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
src\host\lua-5.1.4\src
+
+ src\host\lua-5.1.4\src
+
+
+ src\host\lua-5.1.4\src
+
+
-
+
+ scripts
+
+
+ scripts
+
+
+ src
+
+
+ src
+
+
+ src\actions\clean
+
+
+ src\actions\codeblocks
+
+
+ src\actions\codeblocks
+
+
+ src\actions\codeblocks
+
+
+ src\actions\codelite
+
+
+ src\actions\codelite
+
+
+ src\actions\codelite
+
+
+ src\actions\example
+
+
+ src\actions\example
+
+
+ src\actions\example
+
+
+ src\actions\make
+
+
+ src\actions\make
+
+
+ src\actions\make
+
+
+ src\actions\make
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\vstudio
+
+
+ src\actions\xcode
+
+
+ src\actions\xcode
+
+
+ src\actions\xcode
+
+
+ src\actions\xcode
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\base
+
+
+ src\tools
+
+
+ src\tools
+
+
+ src\tools
+
+
+ src\tools
+
+
+ tests
+
tests
-
- tests
-
-
- tests
-
-
- tests
-
-
- tests
-
tests
-
- tests
-
tests
-
- tests
-
-
- tests
-
tests
-
+
tests
-
- tests
-
-
+
tests
@@ -351,33 +471,48 @@
tests
+
+ tests
+
tests
tests
+
+ tests
+
+
+ tests
+
+
+ tests
+
tests
-
- tests\folder
+
+ tests
+
+
+ tests
+
+
+ tests
tests\actions
+
+ tests\actions\make
+
+
+ tests\actions\make
+
tests\actions\vstudio
-
- tests\actions\vstudio
-
-
- tests\actions\vstudio
-
-
- tests\actions\vstudio
-
tests\actions\vstudio
@@ -387,9 +522,18 @@
tests\actions\vstudio
+
+ tests\actions\vstudio
+
+
+ tests\actions\vstudio
+
tests\actions\vstudio
+
+ tests\actions\vstudio
+
tests\actions\xcode
@@ -399,215 +543,32 @@
tests\actions\xcode
-
- tests\actions\make
-
-
- tests\actions\make
-
-
+
tests\base
-
- tests\base
-
-
+
tests\base
tests\base
+
+ tests\base
+
tests\base
tests\base
-
+
tests\base
-
+
tests\base
-
- src
-
-
- src
-
-
- src\actions\example
-
-
- src\actions\example
-
-
- src\actions\example
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\vstudio
-
-
- src\actions\codeblocks
-
-
- src\actions\codeblocks
-
-
- src\actions\codeblocks
-
-
- src\actions\xcode
-
-
- src\actions\xcode
-
-
- src\actions\xcode
-
-
- src\actions\make
-
-
- src\actions\make
-
-
- src\actions\make
-
-
- src\actions\make
-
-
- src\actions\codelite
-
-
- src\actions\codelite
-
-
- src\actions\codelite
-
-
- src\actions\clean
-
-
- src\tools
-
-
- src\tools
-
-
- src\tools
-
-
- src\tools
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- src\base
-
-
- scripts
-
-
- scripts
-
-
- samples\project
-
-
- samples\project\CsSharedLib
-
-
- samples\project\CppWindowedApp
-
-
- samples\project\CppStaticLib
-
-
- samples\project\CsConsoleApp
-
-
- samples\project\CppSharedLib
-
-
- samples\project\CppConsoleApp
+
+ tests\folder
diff --git a/build/premake/premake4/build/vs2010/Premake4.vcxproj.user b/build/premake/premake4/build/vs2013/Premake4.vcxproj.user
similarity index 100%
rename from build/premake/premake4/build/vs2010/Premake4.vcxproj.user
rename to build/premake/premake4/build/vs2013/Premake4.vcxproj.user