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

后端 未结 2 1040
深忆病人
深忆病人 2021-02-20 09:25

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 a

2条回答
  •  别跟我提以往
    2021-02-20 10:06

    You may be able to use:

    /showIncludes show include file names
    

    although you will probably also need some additional filtering afterwards to get the format that you need.

提交回复
热议问题