Importing version identifiers from another file?

cc cc at nevernet.com
Sun Apr 17 20:26:03 UTC 2022


Another option for this was suggested here:

https://forum.dlang.org/post/qbvgboihhwcuqglygzec@forum.dlang.org

On Wednesday, 12 February 2020 at 09:28:15 UTC, Simen Kjærås 
wrote:
> So, you could have a file called 'versions' containing this:
>
> # Setting 'Compress' version
> -version=Compress
> # Optionally set other versions
> #-version=Foo
> #-version=Bar
>
> and feed it to dmd like so:
>
>     dmd -w -wi -g @versions -main foo.d
>



More information about the Digitalmars-d-learn mailing list