diff options
| author | Doug Johnson <dougvj@gmail.com> | 2018-01-08 14:53:27 -0700 |
|---|---|---|
| committer | Sandy Carter <bwrsandman@gmail.com> | 2019-03-09 19:43:50 -0500 |
| commit | cfbfc6c17aed3165cb524d699ed5f76fc26ab241 (patch) | |
| tree | 7573ef19fc6e4a78dec2fa7c936255b72d127b9d | |
| parent | 3f576b0d5a01012d57fcf32b2b49eb1adb85b758 (diff) | |
Add debug symbols when building Debug on linux
| -rw-r--r-- | premake5.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index 891fbefa4..87c481292 100644 --- a/premake5.lua +++ b/premake5.lua @@ -68,6 +68,11 @@ filter({"configurations:Debug", "platforms:Windows"}) "/NODEFAULTLIB:MSVCRTD", }) +filter({"configurations:Debug", "platforms:Linux"}) + buildoptions({ + "-g", + }) + filter("configurations:Release") runtime("Release") defines({ |
