blob: a523a1379cf8ffb7985f8e56e09c317ef80bf86f [file] [log] [blame]
cflags = /W4 /wd"4200" /wd"4204" /wd"4221"
out = out/msvs$mode
exe = .exe
rule run
command = cmd /c ""$in" > "$out""
description = run $in
builddir = $out
rule compile
command = cl.exe /c /showIncludes /nologo /Zi /WX /O2 /Oy- /fp:fast /MT /Zc:inline $
/Fo"$out" /Fd"$out.pdb" $cflags $in
deps = msvc
description = compile $out
rule link
command = link.exe /nologo /DEBUG $in /OUT:"$out" /PDB:"$out.pdb"
description = link $out
include build/targets