[Scons-users] Generated source file is placed in build directory, missing includes
Thomas Berg
merlin66b at gmail.com
Sat Oct 27 22:19:35 EDT 2012
On Sat, Oct 27, 2012 at 10:21 PM, William Deegan
<bill at baddogconsulting.com> wrote:
> Thomas,
>
> You shouldn't need to use the srcnode().
>
> env.AppendUnique(CPPPATH=['#/Ca3DE',])
>
> Should be sufficient..
>
> Likely if you find yourself (for the most part) heavily using the .srcnode() and/or .abspath() you may be doing it the hard way...
Yes you are right. I'm getting rusty. I have needed to use
srcnode().abspath in the past, but for purposes where a command only
worked if absolute paths were required. Thanks for correcting me.
- Thomas
More information about the Scons-users
mailing list