Ticket #89 (new enhancement)
Sharing of object files between executable builds?
|Reported by:||bjorn@…||Owned by:||duncan|
|Cc:||jgoerzen@…, gwern0@…, SamB, manlio.perillo@…, nomeata, vogt.adam@…, petersen@…, wehr@…, mail@…||Difficulty:||easy (<4 hours)|
When building a package which contains multiple executables which share some modules, each module is recompiled for every executable. This can increase the compile time substantially. One problem with compiling each module only once is that different executables can have different compiler options, which can for example affect preprocessing. Maybe modules could be shared if all executables have the same compiler options?