Improve cross-compilation support (replace `version` checks by BuildPlatform runtime checks)
Also fixes #1249. For LDC as implicit cross compiler, the file
extensions for libraries and object files etc. don't depend on the
compiler, but solely on the target. Targets selected with `--arch` are
correctly probed by dub, so that the parsed `BuildPlatform` represents
the target platform.
1 parent d55e9b7 commit 944c93af898c8fc557f8231d7fed33bd8b50c65d
@Martin Kinkelin Martin Kinkelin authored on 19 Aug 2019
Showing 10 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/compilers/utils.d
View
source/dub/dub.d
View
source/dub/generators/build.d
View
source/dub/generators/generator.d
View
source/dub/generators/visuald.d
View
source/dub/project.d