私は定期的にヘッダーを変更するプロジェクトを持っていますが、そうすると、それを忘れるとmake clean、makeあらゆる種類の奇妙な動作が発生します。現在、Qt Creator を IDE として使用していますが、Qt に依存しないプロジェクトでこれが発生するのを見てきました。私のプロジェクトはかなり大きくなり、ヘッダーを変更するたびに再構築する必要があり、非生産的になっています。何かご意見は?
今後の参考のために:
QMake システムを使用している場合:
DEPENDPATH += . \
HeaderLocation1/ \
HeaderLocation2/ \
HeaderLocation2/HeaderSubLocation1/ \
HeaderLocation2/HeaderSubLocation2/ \
HeaderLocation2/HeaderSubLocation3/ \
HeaderLocation2/HeaderSubLocation4/ \
HeaderLocation2/HeaderSubLocation5/ \
HeaderLocation3/ \
HeaderLocation3/HeaderSubLocation1/ \
HeaderLocation3/HeaderSubLocation2/ \