On Fri, 21 Dec 2018 10:56:39 +, Atila Neves wrote:
> I don't see how you can do this with dub, and I wouldn't attempt it
> either. Just use make, and have make call dub for the main project (and
> potentially any plugins that need it). Remember to make the dub targets
> `.PHONY` since you don't
On Wednesday, 19 December 2018 at 12:57:14 UTC, Codifies wrote:
I am currently using this dub.sdl
name"runz80"
targetType "executable"
lflags "libz80/libz80.a"
however I will be creating a number of plugins, each plugin
will consist of a single source file, I'd like the plugin
s
On Wednesday, 19 December 2018 at 16:31:57 UTC, Andre Pany wrote:
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 packag
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
On Wed, 19 Dec 2018 12:57:14 +, Codifies wrote:
> I could do this with a few simple rules in a Makefile, but I have no
> clue how to achieve this using dub.
If you need dub, you can create a wrapper script that generates the dub
file for the plugins directory.
Make is a lot better for this k
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.
K
On Wednesday, 19 December 2018 at 12:57:14 UTC, Codifies wrote:
I am currently using this dub.sdl
name"runz80"
targetType "executable"
lflags "libz80/libz80.a"
however I will be creating a number of plugins, each plugin
will consist of a single source file, I'd like the plugin
s
oh forgot to add just for extra pain while the main
application won't need gtk, most of the plugins will...
I am currently using this dub.sdl
name"runz80"
targetType "executable"
lflags "libz80/libz80.a"
however I will be creating a number of plugins, each plugin will
consist of a single source file, I'd like the plugin source
directory to be separate from main source directory and com