From 6a765a95ecbd957fc95687e5a63b546cd6ae5b97 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 6 Dec 2015 17:07:50 +0100 Subject: Added addprojectflags function and added -Wsuggest-override for all that are not 3rdparty projects. It is place where all additional checks we should put --- scripts/src/osd/sdl.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/src/osd/sdl.lua') 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 -- cgit v1.2.3-70-g09d2