Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-06-27 09:52:43

   Hi __Will__.

> For my application i'm using a plugin system and i would like my plugins (
> dlls ) to have a special extension : .plg but i can't find anything to do
> that, if i try something like that :
> lib myplug.plg : a.cpp : <link>shared ; it automatically replaces the .plg
> by a .dll really annoying ...
> If someone knows hot to do that ?

   Hmmm... not really sure if you can do that easily.

   There should be a way to do this change using the install rule in
case you know where you want those plugins to end up.

   I guess one could implement a derived target type from LIB which
would use a customized extension but I am not sure how to do this and do
not have time to look into it at the moment. I believe the python
library does something similar with its python extension DLLs, so that
might be a good place to look.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at