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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -