From: <sv...@ww...> - 2004-10-09 21:33:38
|
Author: mkrose Date: 2004-10-09 14:33:21 -0700 (Sat, 09 Oct 2004) New Revision: 1288 Modified: trunk/CSP/tools/build.py Log: Modify scons emitter for .net (no, not MS .net) files to place the generated header and source files in the same directory as the original file. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1288 Modified: trunk/CSP/tools/build.py =================================================================== --- trunk/CSP/tools/build.py 2004-10-09 21:31:00 UTC (rev 1287) +++ trunk/CSP/tools/build.py 2004-10-09 21:33:21 UTC (rev 1288) @@ -491,9 +491,11 @@ def EmitNet(target, source, env): assert(len(source)==1) source = source[0] + name = os.path.splitext(source.name)[0] + dir = source.srcnode().dir target = [ - source.target_from_source('', env['CXXFILESUFFIX']), - source.target_from_source('', '.h') + dir.File(name + env['CXXFILESUFFIX']), + dir.File(name + '.h'), ] return (target, source) |