scons icon indicating copy to clipboard operation
scons copied to clipboard

Add -W support

Open bdbaddog opened this issue 8 years ago • 0 comments

This issue was originally created at: 2002-12-06 01:18:28. This issue was reported by: stevenknight. stevenknight said at 2002-12-06 01:18:28

The extremely cool GNU what-if option, showing what would be built if a file was changed. We should be able to do this easily by just adding a random (or hard-coded) value to the signature.

issues@scons said at 2002-12-06 01:18:28

Converted from SourceForge tracker item 649406

garyo said at 2008-03-17 18:35:17

would be nice, not now.

garyo said at 2008-04-01 18:21:26

Greg says:

If you say -W, the file is rebuilt; if you add -n it will tell you what else is rebuilt.

So research this a bit; maybe related to issue #438.

gregnoel said at 2008-04-02 14:23:22

The GNU manpage for `make' has this paragraph:

-W file' --what-if=file' --new-file=file' --assume-new=file' Pretend that the target file has just been modified. When used with the -n' flag, this shows you what would happen if you were to modify that file. Without -n', it is almost the same as running a touch command on the given file before running make, except that the modification time is changed only in the imagination of make.

The distinction between this and issue #438 is that this doesn't cause a rebuild of the immediate target, just its downstream dependencies.

gregnoel said at 2008-12-26 13:20:21

Adjust triage of issues.

bdbaddog avatar Jan 02 '18 05:01 bdbaddog