November 11, 2015 DUB library prefix - rules ? | ||||
---|---|---|---|---|
| ||||
quoted from the website:
> Sets the base name of the output file; type and platform specific pre- and suffixes are added automatically
> - this setting does not support platform suffixes
I must be blind but I can't find the code that adds the 'lib' prefix on GitHub. I need to check something:
Is it correct to say that
- under Macosx and Linux, the 'lib' prefix is added if target is a library.
- under Windows, nothing is added and targetName is used as it.
Otherwise, if you have the link with the matching line highlihted on GH.
|
November 11, 2015 Re: DUB library prefix - rules ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to BBaz | On Wednesday, 11 November 2015 at 05:03:47 UTC, BBaz wrote:
> quoted from the website:
>
>> Sets the base name of the output file; type and platform specific pre- and suffixes are added automatically
>> - this setting does not support platform suffixes
>
> I must be blind but I can't find the code that adds the 'lib' prefix on GitHub. I need to check something:
>
> Is it correct to say that
> - under Macosx and Linux, the 'lib' prefix is added if target is a library.
> - under Windows, nothing is added and targetName is used as it.
>
> Otherwise, if you have the link with the matching line highlihted on GH.
From what i understand yes. That option ( I think ) is for if you have a project foo with libraries bar and baz you can make it call the libs (lib)foobar.(a|so|dylib|lib |.etc) and libfoobaz.a
|
Copyright © 1999-2021 by the D Language Foundation