Opened 12 years ago
Last modified 8 years ago
#190 assigned refactoring
version stamper -- have vers stamper check file content first
Reported by: | Fred T. Hamster | Owned by: | bugdock |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | feistymeow-nucleus | Version: | |
Keywords: | Cc: |
Description
problem::::
noticed that hoople/clam on linux is
always recompiling all EXEs when the version changes.
first of all, that's silly. the version isn't used on linux at all.
second of all, that's silly. when things do get a new version, things
shouldn't need relinking unless the so/dll actually changed somehow.
how can we minimize these recompilations?
solution::::
if the file's already there,
read it in.
if file contents are
identical to what would have been written,
don't say anything about the version.
don't write the file.
get out.
only if one of the version.rc or version.h files
had to be written should we say anything.