Jump to page: 1 2
Thread overview
compile "automation", makefile, or whatever?
Sep 16, 2014
K.K.
Sep 16, 2014
Cliff
Sep 16, 2014
K.K.
Sep 16, 2014
Cliff
Sep 16, 2014
K.K.
Sep 16, 2014
Cliff
Sep 16, 2014
K.K.
Sep 16, 2014
Cliff
Sep 16, 2014
K.K.
Sep 16, 2014
bachmeier
Sep 17, 2014
Kagamin
Sep 16, 2014
H. S. Teoh
Sep 16, 2014
Andrei Amatuni
Sep 16, 2014
K.K.
September 16, 2014
Hey I have a quick question: Does D have it's own version of
makefiles or anything (preferably simpler)?
So instead of typing in PowerShell "dmd file1.d file2.d
lib\foo.lib -Isrc\ ....." I could just type most of that into a
file and then just type "dmd file.X"

I've seen some people make really complex .d files that have a
lot of interchangeability but at the moment I wouldn't really
need something of that scale. Also, I'm not using DUB; I'd prefer
to just use the command line.

..Can pragma's help with this, aside from linking just the libs?
September 16, 2014
On Tuesday, 16 September 2014 at 19:00:05 UTC, K.K. wrote:
> Hey I have a quick question: Does D have it's own version of
> makefiles or anything (preferably simpler)?
> So instead of typing in PowerShell "dmd file1.d file2.d
> lib\foo.lib -Isrc\ ....." I could just type most of that into a
> file and then just type "dmd file.X"
>
> I've seen some people make really complex .d files that have a
> lot of interchangeability but at the moment I wouldn't really
> need something of that scale. Also, I'm not using DUB; I'd prefer
> to just use the command line.
>
> ..Can pragma's help with this, aside from linking just the libs?

I want to say somewhere on the forums are some descriptions of
using CMake for this.  Might try searching for that.
September 16, 2014
On Tue, Sep 16, 2014 at 07:00:05PM +0000, K.K. via Digitalmars-d-learn wrote:
> Hey I have a quick question: Does D have it's own version of
> makefiles or anything (preferably simpler)?
> So instead of typing in PowerShell "dmd file1.d file2.d
> lib\foo.lib -Isrc\ ....." I could just type most of that into a
> file and then just type "dmd file.X"
> 
> I've seen some people make really complex .d files that have a lot of interchangeability but at the moment I wouldn't really need something of that scale. Also, I'm not using DUB; I'd prefer to just use the command line.
> 
> ..Can pragma's help with this, aside from linking just the libs?

Try 'dub' (see: http://code.dlang.org/ ).


T

-- 
Turning your clock 15 minutes ahead won't cure lateness---you're just making time go faster!
September 16, 2014
On Tuesday, 16 September 2014 at 19:26:29 UTC, Cliff wrote:
> I want to say somewhere on the forums are some descriptions of
> using CMake for this.  Might try searching for that.

Yeah I just looked up the CMake thing. It definitely seems worth
playing with, though I'm not really sure how extensive it's D
support currently is :S
September 16, 2014
On Tuesday, 16 September 2014 at 20:29:12 UTC, K.K. wrote:
> On Tuesday, 16 September 2014 at 19:26:29 UTC, Cliff wrote:
>> I want to say somewhere on the forums are some descriptions of
>> using CMake for this.  Might try searching for that.
>
> Yeah I just looked up the CMake thing. It definitely seems worth
> playing with, though I'm not really sure how extensive it's D
> support currently is :S

Out of curiosity, why are you not using dub (on the command-line)?
September 16, 2014
On Tuesday, 16 September 2014 at 20:31:33 UTC, Cliff wrote:
> Out of curiosity, why are you not using dub (on the command-line)?

I'm not against using it or anything, but I've found that it
didn't help me significantly nor did I have the patience to
figure out it's whole set of issues, D by itself is already
enough trouble xD

Plus with my spastic work style, it kinda slowed me down.

However, it is something I may consider when I have an actually
organized project with a final goal. A lot of what I'm doing
right now is just experiments. Though, if Cmake + D does the
trick then I might not use DUB in the end. Hard to say atm.
September 16, 2014
On Tuesday, 16 September 2014 at 20:45:29 UTC, K.K. wrote:
> On Tuesday, 16 September 2014 at 20:31:33 UTC, Cliff wrote:
>> Out of curiosity, why are you not using dub (on the command-line)?
>
> I'm not against using it or anything, but I've found that it
> didn't help me significantly nor did I have the patience to
> figure out it's whole set of issues, D by itself is already
> enough trouble xD
>
> Plus with my spastic work style, it kinda slowed me down.
>
> However, it is something I may consider when I have an actually
> organized project with a final goal. A lot of what I'm doing
> right now is just experiments. Though, if Cmake + D does the
> trick then I might not use DUB in the end. Hard to say atm.

Would you be willing to provide some more detail on what about it
you didn't like (errors, missing features, etc.)?  I ask because
build systems are a particular interest of mine and I have
projects in this area which can always use more user data.
September 16, 2014
On Tuesday, 16 September 2014 at 19:00:05 UTC, K.K. wrote:
> Hey I have a quick question: Does D have it's own version of
> makefiles or anything (preferably simpler)?
> So instead of typing in PowerShell "dmd file1.d file2.d
> lib\foo.lib -Isrc\ ....." I could just type most of that into a
> file and then just type "dmd file.X"
>
> I've seen some people make really complex .d files that have a
> lot of interchangeability but at the moment I wouldn't really
> need something of that scale. Also, I'm not using DUB; I'd prefer
> to just use the command line.
>
> ..Can pragma's help with this, aside from linking just the libs?

Have you tried -> http://dlang.org/rdmd.html
September 16, 2014
On Tuesday, 16 September 2014 at 20:53:08 UTC, Cliff wrote:
> Would you be willing to provide some more detail on what about it
> you didn't like (errors, missing features, etc.)?  I ask because
> build systems are a particular interest of mine and I have
> projects in this area which can always use more user data.

I'll try, but I haven't used it at all since maybe.. April?

One of the main things that annoyed me about it was how sensitive
it could be. The best comparison I can give is that it reminded
me ALOT of Haxe. Both are very flimsy, and very poorly
documented. (Nothing beats a good manual as far as I'm concerned!)

The other thing, as I briefly mentioned, was it really didn't
speed anything up, unless maybe you were working on a larger
project.


Obviously I'm not a master of any sort, but the main point I'd
take from this is it wasn't inviting.

Hope that helps a bit :3
September 16, 2014
On Tuesday, 16 September 2014 at 20:57:20 UTC, Andrei Amatuni
wrote:
> Have you tried -> http://dlang.org/rdmd.html

only a tiny bit... I've haven't quite figured rdmd yet :\

I'm actually trying it out right now.
« First   ‹ Prev
1 2