Am 21.12.2015 um 15:56 schrieb BlackEdder:
We are using preBuildCommands to build a configure script, that checks whether certain features are build into a c library (http://github.com/cairoD/cairoD). The problem is that we do not know which D compiler is installed. Is it possible to have access to the compiler passed to the --compiler= flag?
Also does preBuildCommands work on windows? What "shell" does it use there?
DC_BASE environment variables available,
the binary name, as passed to
DC_BASE is the base
name of the compiler (e.g. "dmd" or "ldc").
Another possibility is to use a platform specifier for each compiler: