Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
May 06, 2019 Meson build system user new to D. | ||||
---|---|---|---|---|
| ||||
Hello everyone I am a Meson build system user and I am new to the D language, just wondering if there are compiler flags that I should add, unit testing frameworks, any good practices I can follow and or anything like that also some resources would be helpful thanks. (: |
May 07, 2019 Re: Meson build system user new to D. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Brockus | On Monday, 6 May 2019 at 19:52:23 UTC, Mike Brockus wrote: > Hello everyone I am a Meson build system user and I am new to the D language, just wondering if there are compiler flags that I should add, unit testing frameworks, any good practices I can follow and or anything like that also some resources would be helpful thanks. (: Perhaps a good place to start is examining existing D projects that use Meson - for example mir-algorithm: https://github.com/libmir/mir-algorithm/blob/master/meson.build. |
May 08, 2019 Re: Meson build system user new to D. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Brockus | On Monday, 6 May 2019 at 19:52:23 UTC, Mike Brockus wrote:
> Hello everyone I am a Meson build system user and I am new to the D language, just wondering if there are compiler flags that I should add, unit testing frameworks, any good practices I can follow and or anything like that also some resources would be helpful thanks. (:
While I heard Meson is working for D, the prefered choice, in case you have D only applications/libraries is Dub.
If you also want build to build C/C++ together with D, Meson or other build systems are preferable.
What is your use case?
Kind regards
Andre
|
May 08, 2019 Re: Meson build system user new to D. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Brockus | On Monday, 6 May 2019 at 19:52:23 UTC, Mike Brockus wrote: > Hello everyone I am a Meson build system user and I am new to the D language, just wondering if there are compiler flags that I should add, unit testing frameworks, any good practices I can follow and or anything like that also some resources would be helpful thanks. (: D has built in unittests: https://tour.dlang.org/tour/en/gems/unittesting as for build systems, dub is the official one for D. |
May 09, 2019 Re: Meson build system user new to D. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Wednesday, 8 May 2019 at 10:28:26 UTC, Andre Pany wrote:
> On Monday, 6 May 2019 at 19:52:23 UTC, Mike Brockus wrote:
>> Hello everyone I am a Meson build system user and I am new to the D language, just wondering if there are compiler flags that I should add, unit testing frameworks, any good practices I can follow and or anything like that also some resources would be helpful thanks. (:
>
> While I heard Meson is working for D, the prefered choice, in case you have D only applications/libraries is Dub.
>
> If you also want build to build C/C++ together with D, Meson or other build systems are preferable.
>
> What is your use case?
>
> Kind regards
> Andre
I did have a particular use case yet as I am just discovering the capabilities of D and I may
say that I appreciate that it looks like both Python and C mixed into one allegiant
programming language which makes it easy for me to learn.
|
Copyright © 1999-2021 by the D Language Foundation