diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-05 16:22:27 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-05 16:22:27 -0400 |
| commit | 976b4eec075ea76387bb3b424fc0d89b8974ae10 (patch) | |
| tree | d814d14409b44a9e8796256d3393ce26a0488f1d | |
| parent | a1f81258c164e772307043cf1be65c1343319d58 (diff) | |
Show codegen even if it wasn't regenerated
| -rw-r--r-- | src/tomo.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -587,6 +587,8 @@ void compile_files(env_t *env, List_t to_compile, List_t *object_files, List_t * entry->staleness.o = true; } else { if (verbose) whisper("Unchanged: ", build_file(entry->filename, ".h")); + if (show_codegen.length > 0) + xsystem(show_codegen, " <", build_file(entry->filename, ".h")); } } @@ -607,6 +609,8 @@ void compile_files(env_t *env, List_t to_compile, List_t *object_files, List_t * if (!clean_build && !entry->staleness.c && !entry->staleness.h && !entry->staleness.o && !is_config_outdated(entry->filename)) { if (verbose) whisper("Unchanged: ", build_file(entry->filename, ".c")); + if (show_codegen.length > 0) + xsystem(show_codegen, " <", build_file(entry->filename, ".c")); if (verbose) whisper("Unchanged: ", build_file(entry->filename, ".o")); continue; } |
