blob: e2ca1861042377525df4401da5be31259fc9c1b5 [file] [log] [blame]
timb21d1192016-07-01 12:23:08 -07001rule cxx
Nico Weberde542972019-11-16 15:32:18 -05002 command = ninja -t msvc -- $cxx /nologo /showIncludes /FC $includes $cflags /c $in /Fo$out
Nico Weber3e425962019-11-07 09:34:58 -05003 description = CXX $out
timb21d1192016-07-01 12:23:08 -07004 deps = msvc
5
6rule alink_thin
Nico Weber160387b2019-11-07 12:35:29 -05007 command = ninja -t msvc -- $ar /nologo /ignore:4221 $libflags /OUT:$out $in
Nico Weber3e425962019-11-07 09:34:58 -05008 description = LIB $out
timb21d1192016-07-01 12:23:08 -07009
10rule link
Nico Weber160387b2019-11-07 12:35:29 -050011 command = ninja -t msvc -- $ld /nologo $ldflags /OUT:$out /PDB:$out.pdb $in $solibs $libs
Nico Weber3e425962019-11-07 09:34:58 -050012 description = LINK $out