How to output preprocessed code AND compile it (Visual Studio)

前端 未结 3 1356
小鲜肉
小鲜肉 2021-02-15 17:27

I\'m generating preprocessor output (.i) from Visual Studio, but also want to do the actual build. Is there a combination of flags that will both output the .i file without then

3条回答
  •  走了就别回头了
    2021-02-15 17:40

    You can add a custom build step or a new target to dump the preprocess after the code is built by definition the dumped preprocessor output is what is built.

提交回复
热议问题