Is there dependency generation flag for MSVC like gcc's -M

Posted by Artyom on Stack Overflow See other posts from Stack Overflow or by Artyom
Published on 2010-06-07T05:41:20Z Indexed on 2010/06/07 5:52 UTC
Read the original article Hit count: 298

Filed under:
|
|

Hello,

Is there dependency generation flag for MSVC like gcc's -M flag.

Every C++ compiler I have ever used had this kind of flag. How can I create dependencies automatically with MSVC cl compiler.

  1. I'm interested for only latest compiler versions i.e. MSVC9 or later but if it works with MSVC8 it is fine as well.
  2. If there is built-in external tool to do this (I mean, not cl), it would be fine as well

© Stack Overflow or respective owner

Related posts about gcc

Related posts about dependencies