Posted Fri, 25 Dec 2015 11:59:37 +0100 in reply to
BlackEdder
Reply
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?
There are DC
and DC_BASE
environment variables available, DC
is
the binary name, as passed to --compiler
and 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:
"preBuildCommands-dmd": [...]
.