Compilation strategy

Ellery Newcomer ellery-newcomer at utulsa.edu
Sun Dec 16 20:30:04 PST 2012


On 12/15/2012 10:30 AM, RenatoUtsch wrote:
> Well, the idea is good. Small projects usually don't have much packages,
> so there will be just a few compiler calls. And compiling files
> concurrently will only have a meaningful efect if the project is large,
> and a large project will have a lot of packages.
>
> Maybe adding an option to choose between compiling all sources at once,
> per package, or per source. For example, in development and debug builds
> the compilation is per file or package, but in release builds all
> sources are compiled at once, or various packages at once.
>

I always thought it would be cool if my build tool could automatically 
determine the dependency graph of my d code and use it to intelligently 
break my project into small enough semi-independent chunks to compile.



More information about the Digitalmars-d mailing list