From 38f5e4130feae358c122e7c737e38a16a33aca19 Mon Sep 17 00:00:00 2001 From: GuilhermeWerner Date: Thu, 21 Jan 2021 16:20:29 -0300 Subject: [PATCH] Update Premake Filters and Add Executable Permission to Linux Scripts --- GenerateProjectFiles.sh | 0 Premake/Linux/premake5 | Bin premake5.lua | 16 ++++++++-------- 3 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 GenerateProjectFiles.sh mode change 100644 => 100755 Premake/Linux/premake5 diff --git a/GenerateProjectFiles.sh b/GenerateProjectFiles.sh old mode 100644 new mode 100755 diff --git a/Premake/Linux/premake5 b/Premake/Linux/premake5 old mode 100644 new mode 100755 diff --git a/premake5.lua b/premake5.lua index 908801f..997e7d1 100644 --- a/premake5.lua +++ b/premake5.lua @@ -43,12 +43,12 @@ project "Cpp" "Library.dll.lib" } - filter "configurations:debug" + filter { "system:windows", "configurations:debug" } runtime "Debug" buildoptions "/MDd" symbols "on" - filter "configurations:release" + filter { "system:windows", "configurations:release" } runtime "Release" buildoptions "/MD" optimize "on" @@ -86,12 +86,12 @@ project "C" "Library.dll.lib" } - filter "configurations:debug" - runtime "Debug" + filter { "system:windows", "configurations:debug" } + runtime "Debug" buildoptions "/MDd" - symbols "on" + symbols "on" - filter "configurations:release" - runtime "Release" + filter { "system:windows", "configurations:release" } + runtime "Release" buildoptions "/MD" - optimize "on" + optimize "on"