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

前端 未结 3 1348
小鲜肉
小鲜肉 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:38

    You can create a custom build config that does pre-processing and then define a batch build that builds the pre-processed version followed by the actual compiled / linked version.

提交回复
热议问题