Skip to content

Commit

Permalink
Minor cleanup mingw premake configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed May 19, 2024
1 parent 8e6eadb commit 6af0622
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ if not subproject then
targetdir "bin/debug"
runtime "Debug"

filter { "action:vs*", "configurations:Debug", "architecture:*64" }
filter { "system:windows", "configurations:Debug", "architecture:*64" }
targetdir "bin/x64/debug"

filter "configurations:Release"
optimize "Size"
targetdir "bin/release"
defines "NDEBUG"

filter { "action:vs*", "configurations:Release", "architecture:*64" }
filter { "system:windows", "configurations:Release", "architecture:*64" }
targetdir "bin/x64/release"

filter { "action:not vs*", "system:windows" }
buildoptions { "-static-libgcc", "-static-libstdc++", "-static", "-lpthread" }
linkoptions { "-mthreads", "-municode", "-static-libgcc", "-static-libstdc++", "-static", "-lpthread" }
buildoptions { "-static-libgcc", "-static-libstdc++", "-static" }
linkoptions { "-municode", "-static-libgcc", "-static-libstdc++", "-static" }
defines { "UNICODE", "_UNICODE" }

filter { "system:linux" }
Expand Down

0 comments on commit 6af0622

Please sign in to comment.