I think theoretically, it should be possible to avoid recompilation in that case. There is a short discussion on this topic in Build systems that know when to recompile -- revised
MarDie
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Build systems that know when to recompile -- revised | 3 | 505 | January 25, 2021 | |
| Compilation time vs. C++ | 22 | 1873 | January 10, 2022 | |
| Module dependencies in cmake not tracked after a module is updated | 18 | 1784 | September 9, 2022 | |
| Question about interfaces and submodules | 6 | 2479 | January 19, 2021 | |
| Why submodules are essential | 14 | 771 | November 3, 2025 |