[Scons-users] 答复: Scons don't build target with absolute file path.
Dirk Bächle
tshortik at gmx.de
Fri Jul 11 03:16:59 EDT 2014
Hi,
On 11.07.2014 03:40, yangsc wrote:
>
> Hi,
>
> In construct file I used my own builder and emmiter. My source file
> has an absolute path like “D:/testDir” which is different with the dir
> of construct script file.
>
> And my emitter also generated the target based on the source file Path
> which is also an absolute path.
>
> #the emitter modify the target list to be generated
>
> def FxEmitter(target, source, env):
>
> target=[]
>
> for x in source:
>
> …
>
> target.append(*target1Name*)
>
> target.append(*target2Name*)
>
> return target, source
>
> My problem is the target is not exist, but scons always tell “done
> building targets”. And when I change the target to relative path, it
> worked.
>
> Is this a bug of scons? And is there any solution?
>
>
this is very difficult to tell, without seeing your full example. This
would include your Builder, Emitter and SConstruct/SConscripts. Do you
have your project checked in to a public repository (github, bitbucket,
...)? Then an URL to your current development version/commit would help
us to be able to reproduce your error.
You can also try to create a minimal working example, compress the files
into a single archive, and attach it to your next email.
If you have not already done so, when writing Tools and Builders you
should have a short look at our http://www.scons.org/wiki/ToolsForFools
guide.
Your error might be similar to this issue:
http://scons.tigris.org/issues/show_bug.cgi?id=2958
but that's just a wild guess.
Best regards,
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140711/d4d4f053/attachment.html>
More information about the Scons-users
mailing list