blob: 6e98575b22afd1f504fa0b39dba75ff2edabf7ad [file] [log] [blame]
rule cc
command = $cc /nologo /showIncludes /FC @${out}.rsp /c ${in} /Fo${out}
description = CC ${out}
rspfile = ${out}.rsp
rspfile_content = ${defines} ${includes} ${cflags} ${cflags_c}
deps = msvc
rule cxx
command = $cxx /nologo /showIncludes /FC @${out}.rsp /c ${in} /Fo${out}
description = CXX ${out}
rspfile = ${out}.rsp
rspfile_content = ${defines} ${includes} ${cflags} ${cflags_cc}
deps = msvc
rule alink_thin
command = $ar /nologo /ignore:4221 /OUT:${out} @${out}.rsp
description = LIB ${out}
rspfile = ${out}.rsp
rspfile_content = ${in_newline}
rule link
command = $ld /nologo /OUT:${out} /PDB:${out}.pdb @${out}.rsp
description = LINK ${out}
rspfile = ${out}.rsp
rspfile_content = ${in_newline} ${libs} ${solibs} ${ldflags}