Imports

Jiyan jiyan at jiyan.info
Wed Oct 4 16:31:35 UTC 2017


Hey,

as i see it the -Ipath command for dmd just imports the files 
within a directory but it doesnt work for sub directories, so i 
can write something like:

import subdirectoryFromPath.file;

Also with dub this doesnt seem possible (sourcePaths seems to 
work as the -I command).

Is there a way to do what i want? Or am i doing something wrong?
And by the way what is the difference from sourcePaths to 
importPaths?



More information about the Digitalmars-d-learn mailing list