using dub to compile plugins
    Andre Pany 
    andre at s-e-a-p.de
       
    Wed Dec 19 16:31:57 UTC 2018
    
    
  
On Wednesday, 19 December 2018 at 14:08:10 UTC, Codifies wrote:
> On Wednesday, 19 December 2018 at 13:14:20 UTC, Andre Pany 
> wrote:
>> On Wednesday, 19 December 2018 at 12:57:14 UTC, Codifies wrote:
>>> [...]
>>
>> You can use dub sub packages. Each plugin will be a dub 
>> package with its own dub descriptor (sdl) file.
>> For your main dub sdl you set targetType to None.
>>
>> Kind regards
>> Andre
>
> how could I have multiple dub files in the same directory for 
> each plugin ???
You have sub folders in which you create the dub.sdl files. In 
your main dub.sdl you include these folders as sub packages.
Regarding the automatic logic you ideally want to have: there is 
the plan to add dub extension plugins. Unfortunately a hero is 
needed to implement it.
Kind regards
Andre
    
    
More information about the Digitalmars-d-learn
mailing list