Skip to content

Commit

Permalink
Merge pull request #12 from Laupetin/no-symbols-for-release
Browse files Browse the repository at this point in the history
Do not generate symbols in Release mode
  • Loading branch information
Laupetin authored Jun 23, 2023
2 parents 9ad68b0 + d23ede6 commit e5be7d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ include "tools/scripts/platform.lua"
workspace "LegoRacersMod"
location "build"
objdir "%{wks.location}/obj"
symbols "On"
systemversion "latest"
cppdialect "C++17"

Expand Down Expand Up @@ -53,11 +52,13 @@ workspace "LegoRacersMod"
filter "configurations:Debug"
defines "_DEBUG"
optimize "Debug"
symbols "On"
filter {}

filter "configurations:Release"
defines "NDEBUG"
optimize "Full"
symbols "Off"
flags {
"FatalWarnings"
}
Expand Down

0 comments on commit e5be7d2

Please sign in to comment.