From: <sv...@ww...> - 2005-12-21 04:49:12
|
Author: mkrose Date: 2005-12-20 20:49:05 -0800 (Tue, 20 Dec 2005) New Revision: 1787 Modified: trunk/CSP/csp/tools/build.py Log: Tweak the build tools so that dependent targets aren't removed when running scons -c. So 'scons cspsim' will cause both csplib and cspsim to be built, but 'scons -c cspsim' will only clean the cspsim build files. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1787 Modified: trunk/CSP/csp/tools/build.py =================================================================== --- trunk/CSP/csp/tools/build.py 2005-12-21 04:46:37 UTC (rev 1786) +++ trunk/CSP/csp/tools/build.py 2005-12-21 04:49:05 UTC (rev 1787) @@ -1281,7 +1281,7 @@ if self._always_build: AlwaysBuild(shlib) self._output = shlib - if bdeps: + if bdeps and not self._env.GetOption('clean'): Depends(shlib, bdeps) return shlib[0] |