Perform the tool chain checks based on the compiler name.
Gets rid of the additional methods in the Compiler interface and moves the checks to a more central location, since other generators apart from BuildGenerator might want to perform the checks in the future. Also keeps the API "package" for now to avoid adding insufficiently though-out public APIs. |
---|
|
source/dub/compilers/compiler.d |
---|
source/dub/compilers/dmd.d |
---|
source/dub/compilers/gdc.d |
---|
source/dub/compilers/ldc.d |
---|
source/dub/generators/build.d |
---|
source/dub/recipe/packagerecipe.d |
---|