What is the equivalent of -version=Flag for conditional compilation in the ldc2 compiler?
Johan
j at j.nl
Fri Jun 5 23:28:51 UTC 2020
On Friday, 5 June 2020 at 22:36:23 UTC, data pulverizer wrote:
> Hi,
>
> I was switching from dmd to ldc2 and would like to know the
> equivalent command line for conditional compilation
> -version=Flag I was using in dmd. I checked the ldc2 --help but
> didn't see anything relevant. Version there refers to compiler
> version or some other unrelated things.
You can also use `ldmd2` as driver for ldc2 with dmd commandline
syntax.
-Johan
More information about the Digitalmars-d-learn
mailing list