← Back to team overview

yade-dev team mailing list archive

Re: YADE_PLUGIN vs compilation ?

 

> Now I look at yadeSCons.py and see (line 60):
> > isPlugin=True #False
> so you're right, files will be compiled regardless of YADE_PLUGIN. That
> is bug, it should be False initially (as is in the comment?!). I will
> fix this and see whether all files are compiled as necessary.

I looked at it and it must be fixed the other way, i.e. that all files
will be compiled, unless explicitly disabled (via YADE_REQUIRE_FEATURE).
The problem is that YADE_PLUGIN declares "plugins" in the sense of
Factorable, but there are files that are compiled but contain no
Factorable classes (such as Shop, SpherePack etc).

I filed bug to not forget https://bugs.launchpad.net/yade/+bug/562174

Summary: documentation is wrong, although it was supposed to be that way
(docs will be fixed); the way it works now will be preserved.

Cheers, v.





References