Re: Building a project with CMAKE

2017-03-05 Thread Johan Engelen via Digitalmars-d-learn
On Saturday, 4 March 2017 at 18:45:22 UTC, berni wrote: [...] If you think, this program could be usefull for you, I can email it to you... The smaller the testcase, the better. You mentioned that for testcase "B" there is a ~10% performance difference between GDC and LDC, so that's

Re: Building a project with CMAKE

2017-03-04 Thread berni via Digitalmars-d-learn
On Saturday, 4 March 2017 at 10:02:15 UTC, Johan Engelen wrote: If you think you have a good testcase, it's nice for compiler devs like me to open a new thread about the difference that you found between the compilers (so that we can try and improve things). I'm not sure, if my "testcase" is

Re: Building a project with CMAKE

2017-03-04 Thread Johan Engelen via Digitalmars-d-learn
On Friday, 3 March 2017 at 22:06:11 UTC, berni wrote: On Friday, 3 March 2017 at 20:10:25 UTC, Ali Çehreli wrote: Which would put gdc in between the two. Is your experience different? Actually, I've got not much experience. A few weeks ago I ran a test where ldc was in between dmd and gdc.

Re: Building a project with CMAKE

2017-03-03 Thread berni via Digitalmars-d-learn
On Friday, 3 March 2017 at 20:10:25 UTC, Ali Çehreli wrote: Which would put gdc in between the two. Is your experience different? Actually, I've got not much experience. A few weeks ago I ran a test where ldc was in between dmd and gdc. But I missed the -release flags then. With that flag

Re: Building a project with CMAKE

2017-03-03 Thread Ali Çehreli via Digitalmars-d-learn
On 03/03/2017 06:58 AM, berni wrote: > On Friday, 3 March 2017 at 13:21:56 UTC, Seb wrote: >> Is there any specific reason why you can't use DMD or LDC? > > gdc produces faster binaries. ;-) I've got installed the other two > compilers too and they work. I haven't compared them myself but I am

Re: Building a project with CMAKE

2017-03-03 Thread berni via Digitalmars-d-learn
On Friday, 3 March 2017 at 13:21:56 UTC, Seb wrote: Is there any specific reason why you can't use DMD or LDC? gdc produces faster binaries. ;-) I've got installed the other two compilers too and they work.

Re: Building a project with CMAKE

2017-03-03 Thread Seb via Digitalmars-d-learn
On Friday, 3 March 2017 at 10:21:51 UTC, berni wrote: On Thursday, 2 March 2017 at 09:13:40 UTC, berni wrote: Just a note: I now asked the same question on the cmake mailing list. Maybe, it's the better place to do so... After some help of cmake people and a morning of more investigations,

Re: Building a project with CMAKE

2017-03-03 Thread berni via Digitalmars-d-learn
On Thursday, 2 March 2017 at 09:13:40 UTC, berni wrote: Just a note: I now asked the same question on the cmake mailing list. Maybe, it's the better place to do so... After some help of cmake people and a morning of more investigations, I'm quite sure I found a bug in gdc. Meanwhile I've got

Re: Building a project with CMAKE

2017-03-02 Thread bauss via Digitalmars-d-learn
On Thursday, 2 March 2017 at 12:42:00 UTC, Russel Winder wrote: On Tue, 2017-02-28 at 17:09 +, berni via Digitalmars-d-learn wrote: [...] I do not have an immediate answer, but… CLion requires CMake, with CMake-D in a fit state we could use CLion with D – albeit very rough and ready

Re: Building a project with CMAKE

2017-03-02 Thread Russel Winder via Digitalmars-d-learn
On Tue, 2017-02-28 at 17:09 +, berni via Digitalmars-d-learn wrote: > I'm using CMAKE to build my project. With  > https://github.com/dcarp/cmake-d this works almost. The only  > thing I do not manage to get working is running cmake in release  > mode. When I use -DCMAKE_BUILD_TYPE=Release I

Re: Building a project with CMAKE

2017-03-02 Thread Nicholas Wilson via Digitalmars-d-learn
On Thursday, 2 March 2017 at 09:13:40 UTC, berni wrote: On Tuesday, 28 February 2017 at 17:09:28 UTC, berni wrote: I'm using CMAKE to build my project. [...] Just a note: I now asked the same question on the cmake mailing list. Maybe, it's the better place to do so... I would take a look

Re: Building a project with CMAKE

2017-03-02 Thread berni via Digitalmars-d-learn
On Tuesday, 28 February 2017 at 17:09:28 UTC, berni wrote: I'm using CMAKE to build my project. [...] Just a note: I now asked the same question on the cmake mailing list. Maybe, it's the better place to do so...