環境
Windows 7
Visual Studio 2012
Premake 5.0 alpha 9
Premake
このあたりを参照。
ビルドツールpremakeの紹介
Premakeで「追加の依存ファイル」を設定する
記述方法
flags {"FatalWarnings"} を追加する
premake5
workspace "sample"
location "build_premake"
configurations { "Debug", "Release" }
project "sample"
kind "ConsoleApp"
language "C++"
targetdir "build_premake/%{cfg.buildcfg}"
files { "src/**.h", "src/**.cpp", }
flags { "FatalWarnings" } -- 警告が全てエラー扱いになる。(/WX)