问题描述:

For now i'm working on complicated Qt project and trying to eliminate many of warnings which appears when i'm trying to build project with using of different compilers (gcc,clang,msvc). Full rebuild of project takes up a long time.

Is there a some tool or maybe a artful approach to rebuild only modules that has warnings on previous build?

I think it might be reached by deleting (or outdating) those modules. Thus Make utility can rebuild them for me.

网友答案:

As the earlier comment say, only do a normal build. Anything that didn't compile last time will now compile. This of cause requires that you set a compiler flag to treat warnings as error or the compiler will create object files even though there are warnings. And the above strategy will fail.

相关阅读:
Top