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

Mats Wichmann mats at wichmann.us
Wed Jun 14 10:25:56 EDT 2017


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.




More information about the Scons-users mailing list