CMake: set warning flags for my project, but not included headers

后端 未结 0 1144
滥情空心
滥情空心 2021-02-06 07:20

I am building a project that includes llvm. I want to enable warnings for my code, but ignore warnings from code in llvm headers.

I have a source file like:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题