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.
1 parent 14ddcd2 commit 9ff82ade12dba33397d7b21d2fc5b9b793804359
@Sönke Ludwig Sönke Ludwig authored on 17 Feb 2019
Showing 6 changed files
View
source/dub/compilers/compiler.d
View
source/dub/compilers/dmd.d
View
source/dub/compilers/gdc.d
View
source/dub/compilers/ldc.d
View
source/dub/generators/build.d
View
source/dub/recipe/packagerecipe.d