[build2] Build system module for code-generation utilities Qt moc, etc.

Boris Kolpackov boris at codesynthesis.com
Thu May 9 14:49:41 UTC 2019


Sam Schweigel <s.schweigel at gmail.com> writes:

> Boris Kolpackov writes:
> 
> > qtexe{hello}: {hxx cxx}{main}
> 
> I see how this would be implemented, but I worry that this wouldn't
> compose well with other code generation tools.  What if the user wanted
> to use another tool on the same executable that needed to find
> dependencies in a similar way?

That's a valid point though this doesn't feel like it is (or should be)
a universal way of doing things. Do you know of any other examples of
such pre-scanning?


> I'm going to see how far I can get by explicitly specifying the
> `moc.cxx` targets for now.

Yes, I think that's a good place to start.


> It will be exciting to see how work on dynamically-loadable build
> modules progresses.

Yes, I am going to start working on it immediately after the next
release. I promise ;-).



More information about the users mailing list