sym file generate on mingw in postbuild process (nw)

This commit is contained in:
Miodrag Milanovic 2015-03-26 16:37:53 +01:00
parent 2444ae8149
commit c29a2b4517

View File

@ -474,7 +474,14 @@ if _OPTIONS["MAP"] then
end
end
if _OPTIONS["SYMBOLS"] then
configuration { "mingw*" }
postbuildcommands {
"$(SILENT) echo Dumping symbols.",
"$(SILENT) objdump --section=.text --line-numbers --syms --demangle $(TARGET) >$(subst .exe,.sym,$(TARGET))"
}
configuration { }
end
buildoptions {
"-Wno-unknown-pragmas",
}