Re: How to create meson.build with external libs?

2020-01-15 Thread 9il via Digitalmars-d-learn
On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: Ok, I am trying to meson and is struggling with meson.build file. I looked up the examples page: https://github.com/mesonbuild/meson/tree/master/test%20cases/d which has a lot of examples but not the one that shows you how to build

Re: How to create meson.build with external libs?

2020-01-14 Thread p.shkadzko via Digitalmars-d-learn
On Tuesday, 14 January 2020 at 20:14:30 UTC, p.shkadzko wrote: On Tuesday, 14 January 2020 at 15:15:09 UTC, Rasmus Thomsen wrote: On Tuesday, 14 January 2020 at 09:54:18 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 21:15:51 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 20:53:43

Re: How to create meson.build with external libs?

2020-01-14 Thread p.shkadzko via Digitalmars-d-learn
On Tuesday, 14 January 2020 at 15:15:09 UTC, Rasmus Thomsen wrote: On Tuesday, 14 January 2020 at 09:54:18 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 21:15:51 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 20:53:43 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 19:56:35 U

Re: How to create meson.build with external libs?

2020-01-14 Thread p.shkadzko via Digitalmars-d-learn
On Tuesday, 14 January 2020 at 11:26:30 UTC, Andre Pany wrote: On Tuesday, 14 January 2020 at 09:54:18 UTC, p.shkadzko wrote: [...] May I ask, whether you have tried to use Dub, or is s.th. blocking you from using Dub? Kind regards André I tested dub and it fetched and compiled mir.ndslic

Re: How to create meson.build with external libs?

2020-01-14 Thread Rasmus Thomsen via Digitalmars-d-learn
On Tuesday, 14 January 2020 at 09:54:18 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 21:15:51 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 20:53:43 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 19:56:35 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 17:14:29 UTC, p

Re: How to create meson.build with external libs?

2020-01-14 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 14 January 2020 at 09:54:18 UTC, p.shkadzko wrote: [...] May I ask, whether you have tried to use Dub, or is s.th. blocking you from using Dub? Kind regards André

Re: How to create meson.build with external libs?

2020-01-14 Thread p.shkadzko via Digitalmars-d-learn
On Monday, 13 January 2020 at 21:15:51 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 20:53:43 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 19:56:35 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 17:14:29 UTC, p.shkadzko wrote: [...] I had to set PKG_CONFIG_PATH to "/usr/

Re: How to create meson.build with external libs?

2020-01-13 Thread p.shkadzko via Digitalmars-d-learn
On Monday, 13 January 2020 at 20:53:43 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 19:56:35 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 17:14:29 UTC, p.shkadzko wrote: [...] I had to set PKG_CONFIG_PATH to "/usr/local/lib/pkgconfig". For some reason Manjaro distro doesn't h

Re: How to create meson.build with external libs?

2020-01-13 Thread p.shkadzko via Digitalmars-d-learn
On Monday, 13 January 2020 at 19:56:35 UTC, p.shkadzko wrote: On Monday, 13 January 2020 at 17:14:29 UTC, p.shkadzko wrote: On Sunday, 12 January 2020 at 22:12:14 UTC, Rasmus Thomsen wrote: On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: [...] In difference to dub, meson will _

Re: How to create meson.build with external libs?

2020-01-13 Thread p.shkadzko via Digitalmars-d-learn
On Monday, 13 January 2020 at 17:14:29 UTC, p.shkadzko wrote: On Sunday, 12 January 2020 at 22:12:14 UTC, Rasmus Thomsen wrote: On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: [...] In difference to dub, meson will _not_ auto-download required software for you. You have to ways

Re: How to create meson.build with external libs?

2020-01-13 Thread p.shkadzko via Digitalmars-d-learn
On Sunday, 12 January 2020 at 22:12:14 UTC, Rasmus Thomsen wrote: On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: [...] In difference to dub, meson will _not_ auto-download required software for you. You have to ways to go forward with this: [...] I followed the 1 step, name

Re: How to create meson.build with external libs?

2020-01-12 Thread Rasmus Thomsen via Digitalmars-d-learn
On Sunday, 12 January 2020 at 22:20:16 UTC, p.shkadzko wrote: Why do you think 1 is the better way? Well, I suppose I might be a bit biased being a distro packager, but not using dub ensures your package builds properly with what your distro uses (e.g. pkg-config). It _is_ more effort up fron

Re: How to create meson.build with external libs?

2020-01-12 Thread p.shkadzko via Digitalmars-d-learn
On Sunday, 12 January 2020 at 22:12:14 UTC, Rasmus Thomsen wrote: On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: [...] In difference to dub, meson will _not_ auto-download required software for you. You have to ways to go forward with this: [...] Thanks! I shall try it out.

Re: How to create meson.build with external libs?

2020-01-12 Thread p.shkadzko via Digitalmars-d-learn
On Sunday, 12 January 2020 at 22:12:14 UTC, Rasmus Thomsen wrote: On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: What do I need to do in order to build the project with "lubeck" dependency in meson? In difference to dub, meson will _not_ auto-download required software for you.

Re: How to create meson.build with external libs?

2020-01-12 Thread Rasmus Thomsen via Digitalmars-d-learn
On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote: What do I need to do in order to build the project with "lubeck" dependency in meson? In difference to dub, meson will _not_ auto-download required software for you. You have to ways to go forward with this: 1 (IMHO the better way

How to create meson.build with external libs?

2020-01-12 Thread p.shkadzko via Digitalmars-d-learn
Ok, I am trying to meson and is struggling with meson.build file. I looked up the examples page: https://github.com/mesonbuild/meson/tree/master/test%20cases/d which has a lot of examples but not the one that shows you how to build your project with some external dependency :) Let's say we ha