From: william marié (william.marie_at_[hidden])
Date: 2008-06-27 10:23:28
Actually, i'm not sure but i think i found a way to do that using :
# Plug Type creation
import type ;
type.register PLUG : : SHARED_LIB ;
type.set-generated-target-suffix PLUG : : plg ;
But i don't know how to tell the lib rule to use my type instead of the
2008/6/27 Jurko Gospodnetiæ <jurko.gospodnetic_at_[hidden]>:
> 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
> Hope this helps.
> Best regards,
> Jurko Gospodnetiæ
> Unsubscribe & other changes:
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk