[Scons-users] PCH target file
Ora
orshalev at gmail.com
Sun Aug 23 11:14:03 EDT 2015
Each project is built in a different directory.
My problem is that the PCH builder doesn't seem to accept a 'target', and
automatically creates the file in the source directory.
I'm currently calling it with the source file as input. PCH(source_file).
When I tried sending PCH (target=target_file, source=source_file), SCons
failed ('NoneType' object has no attribute 'side_effect').
Is there a way to specify the target?
Thanks,
Ora
On Thu, Aug 20, 2015 at 11:25 PM, Bill Deegan <bill at baddogconsulting.com>
wrote:
> Ora,
>
> Seems like you need to have a different output file name for each
> project.. and/or build the output file in a variant dir or a different
> directory.
>
> -Bill
>
> On Thu, Aug 20, 2015 at 7:51 AM, Ora <orshalev at gmail.com> wrote:
>
>> Hi,
>>
>> Is it possible to specify the output target in the PCH() builder?
>>
>> My problem is as such:
>>
>> I have several projects which use the same pre-compiled header file, but
>> compile it using different command line parameters. Currently, the PCH file
>> is being output into a common directory, and is therefore recompiled every
>> time I switch projects.
>>
>>
>> Thanks,
>> Ora
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
> _______________________________________________
> 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/20150823/361a29d5/attachment.html>
More information about the Scons-users
mailing list