From 9c4fdd5128efef185604dd92ccc2bd48e2039bee Mon Sep 17 00:00:00 2001 From: codinablack Date: Sat, 30 Nov 2024 05:10:26 -0600 Subject: [PATCH] Premake fix this time --- premake5.lua | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/premake5.lua b/premake5.lua index 84ec62cf..8f987b5c 100644 --- a/premake5.lua +++ b/premake5.lua @@ -32,7 +32,7 @@ workspace "Black-Tek-Server" end -- Debug configurations - filter "configurations:Debug or DebugStatic or DebugDynamic" + filter ("configurations:Debug", "configurations:DebugStatic", "configurations:DebugDynamic") defines { "DEBUG" } runtime "Debug" symbols "On" @@ -42,7 +42,7 @@ workspace "Black-Tek-Server" filter {} -- Release configurations - filter "configurations:Release or ReleaseStatic or ReleaseDynamic" + filter ("configurations:Release", "configurations:ReleaseStatic", "configurations:ReleaseDynamic") defines { "NDEBUG" } runtime "Release" symbols "Off" @@ -80,50 +80,46 @@ workspace "Black-Tek-Server" -- Configuration-specific settings -- x64 configurations - filter ("configurations:*Static", "architecture:amd64", "system:windows") - libdirs("vcpkg_installed/x64-windows-static/lib") - includedirs("vcpkg_installed/x64-windows-static/include") + filter {"configurations:*Static", "architecture:amd64", "system:windows"} staticruntime "On" filter {} - filter ("configurations:*Dynamic", "architecture:amd64", "system:windows") - libdirs("vcpkg_installed/x64-windows-static/lib") - includedirs("vcpkg_installed/x64-windows/include") + filter {"configurations:*Dynamic", "architecture:amd64", "system:windows"} staticruntime "Off" filter {} - filter ("configurations:*Static", "architecture:amd64", "system:linux") + filter {"configurations:*Static", "architecture:amd64", "system:linux"} libdirs("vcpkg_installed/x64-linux-static/lib") includedirs("vcpkg_installed/x64-linux-static/include") staticruntime "On" filter {} - filter ("configurations:*Dynamic", "architecture:amd64","system:linux") + filter {"configurations:*Dynamic", "architecture:amd64","system:linux"} libdirs("vcpkg_installed/x64-linux/lib") includedirs("vcpkg_installed/x64-linux/include") staticruntime "Off" filter {} -- ARM64 configurations - filter ("configurations:*Static", "architecture:ARM64", "system:windows") + filter {"configurations:*Static", "architecture:ARM64", "system:windows"} libdirs("vcpkg_installed/ARM64-windows-static/lib") includedirs("vcpkg_installed/ARM64-windows-static/include") staticruntime "On" filter {} - filter ("configurations:*Dynamic", "architecture:ARM64", "system:windows") + filter {"configurations:*Dynamic", "architecture:ARM64", "system:windows"} libdirs("vcpkg_installed/ARM64-windows/lib") includedirs("vcpkg_installed/ARM64-windows/include") staticruntime "Off" filter {} - filter ("configurations:*Static", "architecture:ARM64", "system:linux") + filter {"configurations:*Static", "architecture:ARM64", "system:linux"} libdirs("vcpkg_installed/ARM64-linux-static/lib") includedirs("vcpkg_installed/ARM64-linux-static/include") staticruntime "On" filter {} - filter ("configurations:*Dynamic", "architecture:ARM64", "system:linux") + filter {"configurations:*Dynamic", "architecture:ARM64", "system:linux"} libdirs("vcpkg_installed/ARM64-linux/lib") includedirs("vcpkg_installed/ARM64-linux/include") staticruntime "Off"