Hi,

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 standard <link>shared...


2008/6/27 Jurko Gospodnetiæ <jurko.gospodnetic@docte.hr>:
 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æ

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build