[Scons-users] pointer to info on using a project-built tool?

Bill Deegan bill at baddogconsulting.com
Wed Jun 14 11:29:19 EDT 2017


I'd guess yes.
Otherwise you're making the target dependon json2cbor most likely in the
base directory of your build.

-Bill

On Wed, Jun 14, 2017 at 10:25 AM, Mats Wichmann <mats at wichmann.us> wrote:

> On 06/13/2017 04:35 AM, Dirk Bächle wrote:
> > Hi Mats,
> >
> >
> > just as a side note...
>
> >> In a generic place, before descending into various subdirectories:
> >>
> >>
> >> ######################################################################
> >> # Generate Cbor from json files
> >> ######################################################################
> >> json2cbor = env.get('BUILD_DIR') +
> >> 'resource/csdk/security/tool/json2cbor'
> >>
> >> def generate_actions(source, target, env, for_signature):
> >>      Depends(target, "json2cbor")
> >
> > Shouldn't the quotes around the "json2cbor" get removed, such that
> > exactly the same Node with its full absolute path gets used as
> > dependency? Else, the path/file lookup may find other instances of
> > "json2cbor" located in $PATH.
> >
> > Best regards,
> >
> > Dirk
>
> I'd defer to your knowledge on that, I'm still a bit unfamiliar with
> when quoted symbols are used in scons. That's what a developer came up
> with, and I'm still trying to understand.
>
>
> _______________________________________________
> 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/20170614/a5a763a8/attachment.html>


More information about the Scons-users mailing list