[Scons-users] My tree is different when calling --tree from sub-folder and from root
William Blevins
wblevins001 at gmail.com
Sat Dec 17 15:02:52 EST 2016
Pierre,
SCons runs on targets. The default target is "." or the current directory.
If you change directories or targets, then the output or actions will not
be the same. Running in a sub-folder will generally produce less targets.
You should probably read the User's Guide through. I know it's long, but a
lot of these questions should be answered. Some of them may even be in the
FAQ page.
V/R,
William
On Sat, Dec 17, 2016 at 1:42 PM, Pierre-Luc Boily <pierreluc.boily at gmail.com
> wrote:
> There is something about --tree that confused me.
>
> Depending if I am calling --tree on a sub-folder (scons -u --tree) or from
> the root (scons --tree), my tree is not the same. And more strangely,
> scons
> -u doesn't detect that he needs to build something.
>
> Result --tree from sub-folder : http://pastebin.com/f9W6sK6r
> Result --tree from root : http://pastebin.com/0G98ERpB
>
> My SConscript file : http://pastebin.com/H58iVTpE
> My pseudo-builder creating the targets : http://pastebin.com/zNk2sXW8
>
> As you can see, targets path (_get_verbyx_target) that I give to Command
> (in
> buildGrammarForVrx) are absolute path. Then, I don't understand why
> env.Command not kicks in when I call from sub-folder.
>
> How could I rearrange my targets in order to make scons -u working
> correctly?
>
> thank you!
>
>
>
> --
> View this message in context: http://scons.1086193.n5.
> nabble.com/My-tree-is-different-when-calling-tree-
> from-sub-folder-and-from-root-tp40859.html
> Sent from the Users mailing list archive at Nabble.com.
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20161217/bec6444f/attachment.html>
More information about the Scons-users
mailing list