[Scons-users] My dependency tree is incorrect, I want to depends on IDL generation
Bill Deegan
bill at baddogconsulting.com
Thu Nov 10 21:50:49 EST 2016
On Thu, Nov 10, 2016 at 5:54 PM, Pierre-Luc Boily <pierreluc.boily at gmail.com
> wrote:
> Creating a small module with only 1 .idl, 1 .cpp and 1 .h help me quite a
> lot
> to understand what was going on with my dependency tree. I actually
> resolved my problem.
>
> The bug was coming from how I was specifying the source files for Library
> call.
> a- Using Glob(*.cpp) was returning nodes from variant dir for files
> generated by idlpp.exe.
> b- What I had to do was specifying the absolute path.
> c- This version <http://pastebin.com/CtU7qEQL> works.
> d- And the nice tree <http://pastebin.com/ZT76E4rQ> where everything is
> called at the correct time
>
> Questions :
> 1- It is working, but I am wondering if I should worry to see .obj files
> located in src dir?
>
If you're using variant dirs properly, there should be no obj files in your
actual source directories
> 2- Also, is it bad to not specify any target to a custom builder? I am
> creating all my targets with the emitter...
>
That's o.k.
>
> Anyway, thx for the help, it is really appreciated.
>
>
>
> --
> View this message in context: http://scons.1086193.n5.
> nabble.com/My-dependency-tree-is-incorrect-I-want-to-
> depends-on-IDL-generation-tp40715p40720.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/20161110/2088a8bb/attachment.html>
More information about the Scons-users
mailing list