On Saturday, 18 March 2017 at 12:26:35 UTC, Basile B. wrote:
On Saturday, 18 March 2017 at 11:29:43 UTC, alex1974 wrote:
[...]

You can put everything in a single library. The module names should match to the folder layout:

extensions/regex.d // module extensions.regex;
extensions/path.d                     // module extensions.path;
extensions/files/package.d // module extensions.files; extensions/files/files_stuff1.d // module extensions.files.files_stuff1; extensions/files/files_stuff2.d // module extensions.files.files_stuff2;

Note the particular case of package.d. To have a module with the same name as a folder you name it package.

Thanks for the answer.

This simple layout works, but then all parts will be compiled every time. Is there a way to just compile the "sublibraries" which have changed?

Reply via email to