From cfbfc6c17aed3165cb524d699ed5f76fc26ab241 Mon Sep 17 00:00:00 2001 From: Doug Johnson Date: Mon, 8 Jan 2018 14:53:27 -0700 Subject: [PATCH] Add debug symbols when building Debug on linux --- premake5.lua | 5 +++++ 1 file changed, 5 insertions(+) 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({