Hello,
I have thre source files in one directory:
gem.d
mc4ka.d
mc4kb.d
and I would like to bulld two executables. Both mc4ka.d and mk4kb.d have main() functions. Is this possible at all?
I realise that I could put these files in diffrent directories and make them all packages, but that seems like a big job for a small demo.
So far I have this, but can't get sub dependancies working. It just gives an error saying it can't build target none.
{
"name": "mc4ka",
"targetType" : "executable",
"sourcePaths" : ["there are none"],
"sourceFiles" : ["source/gem.d", "source/mc4ka.d"],
"importPaths" : ["source"],
"dependencies": {
"derelict" : "~master",
}
}
NOTE dub asserts if sourcePaths is empty