c++ - How to eliminate certain (non system) headers from dependency files(.d)? -
we link in library(tao) composed of many header files.
every time run pre-processor command on cpp file( g++ -mm $< $@ ), these library files automatically included in every .d file generated.
these not system files , never change far we're concerned, eliminate them .d files.
short of filtering out these header files using sed, there built in way accomplish this?
you may instruct gcc consider path system headers -isystem
; , g++ -mm
ignore system-headers.
Comments
Post a Comment