Setting versions for imports
Jascha Wetzel
firstname at mainia.de
Tue Oct 2 15:31:00 PDT 2007
Derek Parnell wrote:
> The 'Bud' utility has some help for you. It supports a pragma that ensures
> the 'version' gets passed to al files being compiled.
>
> In any of the files to be compiled you have something like ...
>
> version(build) pragma(export_version, asdf);
>
> and Bud causes "version=asdf" to be placed on the command line for you.
>
> I'm not sure if Rebuild has a similar functionality, but I wouldn't be
> surprised if it did.
uh, both have this feature. for some reason i didn't bother to check the
build tools. thanks for that hint.
More information about the Digitalmars-d-learn
mailing list