Skip to content

Commit

Permalink
Premake fix this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Codinablack committed Nov 30, 2024
1 parent 57416a0 commit 9c4fdd5
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 9c4fdd5

Please sign in to comment.