summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/osd/sdl.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-06 17:07:50 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-06 17:07:50 +0100
commit6a765a95ecbd957fc95687e5a63b546cd6ae5b97 (patch)
treeaea0fbeceeba8af92f549bdb42ee0c015abd1dec /scripts/src/osd/sdl.lua
parent3afd02d896139b07d074d9e66698779e698c87b0 (diff)
Added addprojectflags function and added -Wsuggest-override for all that are not 3rdparty projects.
It is place where all additional checks we should put
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r--scripts/src/osd/sdl.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua
index 4cb31f38083..2753f252e14 100644
--- a/scripts/src/osd/sdl.lua
+++ b/scripts/src/osd/sdl.lua
@@ -313,6 +313,8 @@ project ("osd_" .. _OPTIONS["osd"])
uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
kind (LIBTYPE)
+ addprojectflags()
+
dofile("sdl_cfg.lua")
osdmodulesbuild()
@@ -416,6 +418,8 @@ project ("ocore_" .. _OPTIONS["osd"])
"SingleOutputDir",
}
+ addprojectflags()
+
dofile("sdl_cfg.lua")
includedirs {
@@ -475,6 +479,8 @@ if _OPTIONS["with-tools"] then
flags {
"Symbols", -- always include minimum symbols for executables
}
+
+ addprojectflags()
dofile("sdl_cfg.lua")
@@ -537,6 +543,8 @@ if _OPTIONS["targetos"] == "macosx" and _OPTIONS["with-tools"] then
"Symbols", -- always include minimum symbols for executables
}
+ addprojectflags()
+
dofile("sdl_cfg.lua")
if _OPTIONS["SEPARATE_BIN"]~="1" then