Re: Will this features be accepted for DUB?

2016-12-16 Thread Ilya Yaroshenko via Digitalmars-d
On Friday, 16 December 2016 at 21:35:23 UTC, John Colvin wrote: On Friday, 16 December 2016 at 19:14:39 UTC, jmh530 wrote: On Friday, 16 December 2016 at 17:21:13 UTC, John Colvin wrote: [...] It might make sense to provide a sample dub.json file with mir to make user's lives easier. That

Re: Will this features be accepted for DUB?

2016-12-16 Thread John Colvin via Digitalmars-d
On Friday, 16 December 2016 at 19:14:39 UTC, jmh530 wrote: On Friday, 16 December 2016 at 17:21:13 UTC, John Colvin wrote: Do you actually mean extern(C) or extern(D)? You said both at different points in this thread. Perhaps this will give you an idea to start from: name "mir-glas"

Re: Will this features be accepted for DUB?

2016-12-16 Thread jmh530 via Digitalmars-d
On Friday, 16 December 2016 at 17:21:13 UTC, John Colvin wrote: Do you actually mean extern(C) or extern(D)? You said both at different points in this thread. Perhaps this will give you an idea to start from: name "mir-glas" sourcePaths "folderWithDiFiles" importPaths "folderWithDiFiles"

Re: Will this features be accepted for DUB?

2016-12-16 Thread Ilya Yaroshenko via Digitalmars-d
On Friday, 16 December 2016 at 17:21:13 UTC, John Colvin wrote: On Friday, 16 December 2016 at 15:09:02 UTC, Ilya Yaroshenko wrote: [...] Do you actually mean extern(C) or extern(D)? You said both at different points in this thread. Perhaps this will give you an idea to start from: name

Re: Will this features be accepted for DUB?

2016-12-16 Thread John Colvin via Digitalmars-d
On Friday, 16 December 2016 at 17:21:13 UTC, John Colvin wrote: On Friday, 16 December 2016 at 15:09:02 UTC, Ilya Yaroshenko wrote: [...] Do you actually mean extern(C) or extern(D)? You said both at different points in this thread. Perhaps this will give you an idea to start from: name

Re: Will this features be accepted for DUB?

2016-12-16 Thread John Colvin via Digitalmars-d
On Friday, 16 December 2016 at 15:09:02 UTC, Ilya Yaroshenko wrote: On Friday, 16 December 2016 at 13:55:55 UTC, Guillaume Piolat wrote: Trying to answer with the existing dub. On Friday, 16 December 2016 at 13:21:53 UTC, Ilya Yaroshenko wrote: We need 1. a post fetch (build) options. GLAS

Re: Will this features be accepted for DUB?

2016-12-16 Thread Joseph Rushton Wakeling via Digitalmars-d
On Friday, 16 December 2016 at 15:09:02 UTC, Ilya Yaroshenko wrote: And it should be builded this way whatever compiler and dub options user use for his project. It sounds like what is really needed here is the ability to specify default build choices in `dub.json` (which the user could then

Re: Will this features be accepted for DUB?

2016-12-16 Thread drug via Digitalmars-d
16.12.2016 18:09, Ilya Yaroshenko пишет: This approach does not work for Mir GLAS. http://forum.dlang.org/post/dfqcgdfnxmnkreywo...@forum.dlang.org I can build a Mir GLAS library with DUB. But I can not do it automatically with DUB, but want to do it. For example: --- "dependencies": {

Re: Will this features be accepted for DUB?

2016-12-16 Thread Ilya Yaroshenko via Digitalmars-d
On Friday, 16 December 2016 at 13:55:55 UTC, Guillaume Piolat wrote: Trying to answer with the existing dub. On Friday, 16 December 2016 at 13:21:53 UTC, Ilya Yaroshenko wrote: We need 1. a post fetch (build) options. GLAS should be builded only in release, and in single file mode. It is a

Re: Will this features be accepted for DUB?

2016-12-16 Thread Ilya Yaroshenko via Digitalmars-d
On Friday, 16 December 2016 at 13:28:49 UTC, rikki cattermole wrote: On 17/12/2016 2:21 AM, Ilya Yaroshenko wrote: Mir GLAS should be builded with special dub flags, in the future it will require to be linked with netlib libs. We need 1. a post fetch (build) options. GLAS should be builded

Re: Will this features be accepted for DUB?

2016-12-16 Thread Guillaume Piolat via Digitalmars-d
Trying to answer with the existing dub. On Friday, 16 December 2016 at 13:21:53 UTC, Ilya Yaroshenko wrote: We need 1. a post fetch (build) options. GLAS should be builded only in release, and in single file mode. It is a betterC library with extern C interface. --combined -b

Re: Will this features be accepted for DUB?

2016-12-16 Thread rikki cattermole via Digitalmars-d
On 17/12/2016 2:21 AM, Ilya Yaroshenko wrote: Mir GLAS should be builded with special dub flags, in the future it will require to be linked with netlib libs. We need 1. a post fetch (build) options. GLAS should be builded only in release, and in single file mode. It is a betterC library with