mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
add postbuild only to main file (nw)
This commit is contained in:
parent
c29a2b4517
commit
69d4d86e74
@ -473,14 +473,6 @@ 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",
|
||||
|
@ -14,6 +14,14 @@ function mainProject(_target, _subtarget)
|
||||
"NoManifest",
|
||||
}
|
||||
|
||||
if _OPTIONS["SYMBOLS"] then
|
||||
configuration { "mingw*" }
|
||||
postbuildcommands {
|
||||
"$(SILENT) echo Dumping symbols.",
|
||||
"$(SILENT) objdump --section=.text --line-numbers --syms --demangle $(TARGET) >$(subst .exe,.sym,$(TARGET))"
|
||||
}
|
||||
end
|
||||
|
||||
configuration { "osx*" }
|
||||
linkoptions {
|
||||
"-sectcreate __TEXT __info_plist " .. GEN_DIR .. "/osd/sdl/" .. _OPTIONS["target"] .. "-Info.plist"
|
||||
|
Loading…
Reference in New Issue
Block a user