Skip to content
Snippets Groups Projects
  • Florian Schmaus's avatar
    c61ecdf1
    [Makefile] Make static-analysis depend on iwyu · c61ecdf1
    Florian Schmaus authored
    The ninja 'iwyu' target does not depend nor generates
    compile_commands_wo_subprojects/compile_commands.json. Hence iwyu
    would fail if the database is not yet generated or run with an
    outdated compile_commands.json.
    
    Instead of iwyu being added to STATIC_ANALYSIS_NINJA_TARGETS, we now
    have the static-analysis make target depend on iwyu. This ensures that
    compile_commands_wo_subprojects/compile_commands.json is generated or
    updated (if required) before iwyu is run.p
    c61ecdf1
    History
    [Makefile] Make static-analysis depend on iwyu
    Florian Schmaus authored
    The ninja 'iwyu' target does not depend nor generates
    compile_commands_wo_subprojects/compile_commands.json. Hence iwyu
    would fail if the database is not yet generated or run with an
    outdated compile_commands.json.
    
    Instead of iwyu being added to STATIC_ANALYSIS_NINJA_TARGETS, we now
    have the static-analysis make target depend on iwyu. This ensures that
    compile_commands_wo_subprojects/compile_commands.json is generated or
    updated (if required) before iwyu is run.p