How add "version.txt" Version File by Command Line or by resources.res using dmd.exe

GoaLitiuM goalitium at
Sun Dec 8 21:39:13 UTC 2019

On Sunday, 8 December 2019 at 20:50:05 UTC, Marcone wrote:
> I want to add version to my program.
> I have configurated my version file "version.txt",  but I dont 
> know how link this file to my program. If Need spec file, 
> please send the exemple code of spec. Or is is possible add 
> version file by dmd command line or resources. Thank you.

If you have a compiled Windows resource file (resources.res), you 
can pass it to DMD like any source file (dmd foo.d bar.d 

More information about the Digitalmars-d-learn mailing list