Re: SCons support for D

2012-03-19 Thread Manu
On 7 December 2011 11:27, Andrew Gough and...@goughy.org wrote: It seems there is SCons support (python), CMake, Orbit (Ruby), DSSS (D1 only?), xfbuild, dake, rdmd options - I've added preliminary D support to premake. Can I see your changes anywhere? I have a premake based project

Re: SCons support for D

2012-03-19 Thread Gour
On Mon, 19 Mar 2012 11:21:41 +0200 Manu turkey...@gmail.com wrote: Can I see your changes anywhere? I have a premake based project infrastructure that I'd like to incorporate some D code into. https://bitbucket.org/goughy/premake-dev-d Sincerely, Gour -- One is understood to be in full

Re: SCons support for D

2012-01-03 Thread Manu
Premake just runs a lua script. You can theoretically create any installation script you like... although you would need to: premake install, rather than: make install On 3 January 2012 09:21, Gour g...@atmarama.net wrote: On Tue, 3 Jan 2012 14:37:36 +1000 Danni Coy danni@gmail.com wrote:

Re: SCons support for D

2012-01-03 Thread Danni Coy
You probably can but it doesn't come free out of the box like every other build system I have tried on Linux. I have gotten around the problem before (when I packaged libFuji) but it was a lot more work than using CMake. On Tue, Jan 3, 2012 at 6:12 PM, Manu turkey...@gmail.com wrote: Premake

Re: SCons support for D

2012-01-02 Thread Danni Coy
Premake has good support for cross compilation - Which makes it possible to use it to build executables for game consoles for instance. CMake can't really do this (with some ugly hacks you can get close). On the other hand Premake doesn't handle installation on a Linux/BSD system really at all -

Re: SCons support for D

2012-01-02 Thread Gour
On Tue, 3 Jan 2012 14:37:36 +1000 Danni Coy danni@gmail.com wrote: Premake has good support for cross compilation - Which makes it possible to use it to build executables for game consoles for instance. CMake can't really do this (with some ugly hacks you can On the other hand Premake

Re: SCons support for D

2011-12-10 Thread Gour
On Sat, 10 Dec 2011 11:25:18 +1100 Andrew Gough and...@goughy.org wrote: Yep - as I say its only preliminary. At the moment it builds my projects ok, but is probably not ready for production use, for instance, arbitrary build flags are not passed through. OK. I'll clean it up, commit and

Re: SCons support for D

2011-12-10 Thread Manu
Yep - as I say its only preliminary. At the moment it builds my projects ok, but is probably not ready for production use, for instance, arbitrary build flags are not passed through. I'll clean it up, commit and open a patch for review and inclusion upstream. That'll take a few days,

Re: SCons support for D

2011-12-09 Thread Gour
On Thu, 8 Dec 2011 20:29:20 +1100 Andrew Gough and...@goughy.org wrote: If there is enough interest, I can fix up some loose ends and try and get the ball rolling again... I got reply from premake developer and he told me that D support in only in 'experimental' branch. Will you try to push it

Re: SCons support for D

2011-12-09 Thread Andrew Gough
On Fri, 9 Dec 2011 13:28:45 +0100 Gour g...@atmarama.net wrote: On Thu, 8 Dec 2011 20:29:20 +1100 Andrew Gough and...@goughy.org wrote: If there is enough interest, I can fix up some loose ends and try and get the ball rolling again... I got reply from premake developer and he told me

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-07 19:02, Russel Winder wrote: On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] Example: $ tool build main.d That's all that should be needed to build an executable. You could have the same in a build script: // buildfile main.d $ tool build Currently with SCons,

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-07 23:31, Jens Mueller wrote: Gour wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manuturkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. Didn't hear about

Re: SCons support for D

2011-12-08 Thread Brad Anderson
On Thu, Dec 8, 2011 at 1:06 AM, Jacob Carlborg d...@me.com wrote: On 2011-12-07 23:31, Jens Mueller wrote: Gour wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manuturkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll

Re: SCons support for D

2011-12-08 Thread Manu
On 8 December 2011 10:15, Brad Anderson e...@gnuk.net wrote: On Thu, Dec 8, 2011 at 1:06 AM, Jacob Carlborg d...@me.com wrote: On 2011-12-07 23:31, Jens Mueller wrote: Gour wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manuturkey...@gmail.com wrote: premake supports D? I was planning to

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Wed, 07 Dec 2011 14:03:02 + Russel Winder rus...@russel.org.uk wrote: On Wed, 2011-12-07 at 22:00 +1100, Andrew Gough wrote: [...] I'm suggesting that the current multi-pronged approach to providing a workable build system is hampered by the multitude of directions and could

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Wed, 7 Dec 2011 20:56:17 +0100 Jens Mueller jens.k.muel...@gmx.de wrote: Andrew Gough wrote: On Tue, 06 Dec 2011 18:14:25 + Russel Winder rus...@russel.org.uk wrote: SCons is a Python-based build tool to replace Make and much of the Autotools functionality. It has D support

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Wed, 7 Dec 2011 22:39:34 +0200 Manu turkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. GDC is also important. Great news! :) I'd be happy to continue - I

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Wed, 07 Dec 2011 14:03:02 + Russel Winder rus...@russel.org.uk wrote: On Wed, 2011-12-07 at 22:00 +1100, Andrew Gough wrote: [...] I'm suggesting that the current multi-pronged approach to providing a workable build system is hampered by the multitude of directions and could

Re: SCons support for D

2011-12-08 Thread Jens Mueller
Andrew Gough wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manu turkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. GDC is also important. Great news! :)

Re: SCons support for D

2011-12-08 Thread Jens Mueller
Gour wrote: On Wed, 7 Dec 2011 23:31:10 +0100 Jens Mueller jens.k.muel...@gmx.de wrote: The nice thing about premake is that it is build using Lua. So you have a full language at your disposal. Heh, that much I could see quickly...Something like Scons/Waf... CMake's configuration

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 09:15, Brad Anderson wrote: On Thu, Dec 8, 2011 at 1:06 AM, Jacob Carlborg d...@me.com Is Lua an external dependency or compiled into the executable? -- /Jacob Carlborg It's built in. Premake is distributed as a single executable on all platforms. That's good and

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 10:13, Andrew Gough wrote: The reasons I chose premake were primarily: 1. No external dependencies (lua embedded in an executable) 2. Simple configuration 3. Cross platform 4. Generates native build scripts: make, VS, Code::Blocks etc etc I have to point out that I have only

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Thu, 08 Dec 2011 11:23:18 +0100 Jacob Carlborg d...@me.com wrote: On 2011-12-08 10:13, Andrew Gough wrote: The reasons I chose premake were primarily: 1. No external dependencies (lua embedded in an executable) 2. Simple configuration 3. Cross platform 4. Generates native build

Re: SCons support for D

2011-12-08 Thread Mike Parker
On 12/8/2011 6:13 PM, Andrew Gough wrote: On Wed, 7 Dec 2011 20:56:17 +0100 Jens Muellerjens.k.muel...@gmx.de wrote: Andrew Gough wrote: On Tue, 06 Dec 2011 18:14:25 + Russel Winderrus...@russel.org.uk wrote: SCons is a Python-based build tool to replace Make and much of the Autotools

Re: SCons support for D

2011-12-08 Thread Mike Parker
On 12/8/2011 6:29 PM, Andrew Gough wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manuturkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. GDC is also important. Great

Re: SCons support for D

2011-12-08 Thread Manu
On 8 December 2011 15:27, Mike Parker aldac...@gmail.com wrote: On 12/8/2011 6:29 PM, Andrew Gough wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manuturkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 12:18, Andrew Gough wrote: On Thu, 08 Dec 2011 11:23:18 +0100 Jacob Carlborgd...@me.com wrote: On 2011-12-08 10:13, Andrew Gough wrote: The reasons I chose premake were primarily: 1. No external dependencies (lua embedded in an executable) 2. Simple configuration 3. Cross

Re: SCons support for D

2011-12-08 Thread Kagamin
No problem. I disagree and think that a cross platform build generator that leverages native build tools is a better approach and provides more flexibility in the long run. Particularly for Windows VS users or people tied to an IDE - configuration that generates to various IDE build scripts

Re: SCons support for D

2011-12-08 Thread Gour
On Thu, 8 Dec 2011 20:13:29 +1100 Andrew Gough and...@goughy.org wrote: I have to point out that I have only added DMD+make support as that is all I needed at the time, but have plans (who doesn't :-D) to add support for LDC, GDC, and other build chains. Does premake support building SWIG

Re: SCons support for D

2011-12-08 Thread Gour
On Thu, 8 Dec 2011 20:29:20 +1100 Andrew Gough and...@goughy.org wrote: If there is enough interest, I can fix up some loose ends and try and get the ball rolling again... +1 -- In this endeavor there is no loss or diminution, and a little advancement on this path can protect one from the

Re: SCons support for D

2011-12-08 Thread Nick Sabalausky
Andrew Gough and...@goughy.org wrote in message news:20111207202725.5adae...@goughy.org... It seems there is SCons support (python), CMake, Orbit (Ruby), DSSS (D1 only?), xfbuild, dake, rdmd options - I've added preliminary D support to premake. xfbuild and rdmd are not really build managers.

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 16:19, Kagamin wrote: No problem. I disagree and think that a cross platform build generator that leverages native build tools is a better approach and provides more flexibility in the long run. Particularly for Windows VS users or people tied to an IDE - configuration that

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Thu, 08 Dec 2011 16:19:27 +0100 Kagamin s...@here.lot wrote: No problem. I disagree and think that a cross platform build generator that leverages native build tools is a better approach and provides more flexibility in the long run. Particularly for Windows VS users or

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Thu, 8 Dec 2011 15:39:59 +0200 Manu turkey...@gmail.com wrote: On 8 December 2011 15:27, Mike Parker aldac...@gmail.com wrote: On 12/8/2011 6:29 PM, Andrew Gough wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manuturkey...@gmail.com wrote: premake supports D? I was planning to add D

Re: SCons support for D

2011-12-08 Thread Mike Parker
On 12/9/2011 2:04 AM, Gour wrote: On Thu, 8 Dec 2011 20:13:29 +1100 Andrew Goughand...@goughy.org wrote: I have to point out that I have only added DMD+make support as that is all I needed at the time, but have plans (who doesn't :-D) to add support for LDC, GDC, and other build chains.

Re: SCons support for D

2011-12-08 Thread Gour
On Fri, 09 Dec 2011 09:28:52 +0900 Mike Parker aldac...@gmail.com wrote: Not out of the box, but it would be trivial to add as a custom Action. Thank you. All in all, premake looks very interesting clean. Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully

Re: SCons support for D

2011-12-07 Thread Andrew Gough
On Tue, 06 Dec 2011 18:14:25 + Russel Winder rus...@russel.org.uk wrote: SCons is a Python-based build tool to replace Make and much of the Autotools functionality. It has D support as part of the core. This support is though in need of development. The new Mercurial/BitBucket

Re: SCons support for D

2011-12-07 Thread Russel Winder
On Wed, 2011-12-07 at 20:27 +1100, Andrew Gough wrote: [...] I think the build tool question is in need of the same level of high level design and support that Steve Teale is working on for std.database/std.sql. I am not sure I quite get that, sorry. It seems there is SCons support (python),

Re: SCons support for D

2011-12-07 Thread Andrew Gough
On Wed, 07 Dec 2011 09:54:08 + Russel Winder rus...@russel.org.uk wrote: On Wed, 2011-12-07 at 20:27 +1100, Andrew Gough wrote: [...] I think the build tool question is in need of the same level of high level design and support that Steve Teale is working on for std.database/std.sql.

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 10:27, Andrew Gough wrote: On Tue, 06 Dec 2011 18:14:25 + Russel Winderrus...@russel.org.uk wrote: SCons is a Python-based build tool to replace Make and much of the Autotools functionality. It has D support as part of the core. This support is though in need of

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 10:54, Russel Winder wrote: On Wed, 2011-12-07 at 20:27 +1100, Andrew Gough wrote: [...] I think the build tool question is in need of the same level of high level design and support that Steve Teale is working on for std.database/std.sql. I am not sure I quite get that, sorry.

Re: SCons support for D

2011-12-07 Thread Russel Winder
On Wed, 2011-12-07 at 22:00 +1100, Andrew Gough wrote: [...] I'm suggesting that the current multi-pronged approach to providing a workable build system is hampered by the multitude of directions and could benefit from some initial discussion, consensus and design. OK. It is a valid point,

Re: SCons support for D

2011-12-07 Thread Russel Winder
On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] What I see as the advantage of a new build system is that it can be developed specifically for D which could make the tool very easy to use. Example: $ tool build main.d Go has gone to the extreme with this, they have a

Re: SCons support for D

2011-12-07 Thread Gour
On Wed, 07 Dec 2011 14:38:04 +0100 Jacob Carlborg d...@me.com wrote: What I see as the advantage of a new build system is that it can be developed specifically for D which could make the tool very easy to use. Example: $ tool build main.d That's all that should be needed to build an

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 15:03, Russel Winder wrote: Having watched what happened with Gant, Gradle, Buildr, sbt, Leiningen, Rake, Bake, Rant, Ant, Maven, make, Cmake, Autotools, etc. I fear the overall effect of a focused on D build tool, whether build from scratch or over another framework. Specialist

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 15:06, Russel Winder wrote: On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] What I see as the advantage of a new build system is that it can be developed specifically for D which could make the tool very easy to use. Example: $ tool build main.d Go has gone to

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 15:15, Gour wrote: On Wed, 07 Dec 2011 14:38:04 +0100 Jacob Carlborgd...@me.com wrote: What I see as the advantage of a new build system is that it can be developed specifically for D which could make the tool very easy to use. Example: $ tool build main.d That's all that

Re: SCons support for D

2011-12-07 Thread Paulo Pinto
Jacob Carlborg Wrote: On 2011-12-07 15:06, Russel Winder wrote: On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] What I see as the advantage of a new build system is that it can be developed specifically for D which could make the tool very easy to use. Example: $

Re: SCons support for D

2011-12-07 Thread Russel Winder
On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] Example: $ tool build main.d That's all that should be needed to build an executable. You could have the same in a build script: // buildfile main.d $ tool build Currently with SCons, you type: $ scons and the

Re: SCons support for D

2011-12-07 Thread Jens Mueller
Andrew Gough wrote: On Tue, 06 Dec 2011 18:14:25 + Russel Winder rus...@russel.org.uk wrote: SCons is a Python-based build tool to replace Make and much of the Autotools functionality. It has D support as part of the core. This support is though in need of development. The new

Re: SCons support for D

2011-12-07 Thread Manu
premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. GDC is also important. Great news! :) On 7 December 2011 21:56, Jens Mueller jens.k.muel...@gmx.de wrote: Andrew Gough wrote: On Tue, 06

Re: SCons support for D

2011-12-07 Thread Gour
On Wed, 7 Dec 2011 22:39:34 +0200 Manu turkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. Didn't hear about premake before...how does it compare with e.g. Cmake?

Re: SCons support for D

2011-12-07 Thread Jens Mueller
Gour wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manu turkey...@gmail.com wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. Didn't hear about premake before...how does it

Re: SCons support for D

2011-12-07 Thread Gour
On Wed, 7 Dec 2011 23:31:10 +0100 Jens Mueller jens.k.muel...@gmx.de wrote: The nice thing about premake is that it is build using Lua. So you have a full language at your disposal. Heh, that much I could see quickly...Something like Scons/Waf... CMake's configuration language is not that

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 16:49, Paulo Pinto wrote: Jacob Carlborg Wrote: On 2011-12-07 15:06, Russel Winder wrote: On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] What I see as the advantage of a new build system is that it can be developed specifically for D which could make the tool

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 19:02, Russel Winder wrote: On Wed, 2011-12-07 at 14:38 +0100, Jacob Carlborg wrote: [...] Example: $ tool build main.d That's all that should be needed to build an executable. You could have the same in a build script: // buildfile main.d $ tool build Currently with SCons,

Re: SCons support for D

2011-12-07 Thread Jacob Carlborg
On 2011-12-07 20:56, Jens Mueller wrote: I'm unsure whether D needs its own configuration/build tool. It definitely needs a package manager. For building there are different options but usually it's make. Most people (at least for sure on Unix variants) are using it. I think Scons does both

SCons support for D

2011-12-06 Thread Russel Winder
SCons is a Python-based build tool to replace Make and much of the Autotools functionality. It has D support as part of the core. This support is though in need of development. The new Mercurial/BitBucket infrastructure for developing SCons (replacing the old Subversion/Tigris set up) is now in

Re: SCons support for D

2011-12-06 Thread eles
Is anyone else other than me interested in using SCons as a build tool with D code? If there is, perhaps we can collaborate in some way to progress SCons support for all the various realizations of D? I am interested. SCons is my build tool of choice (for C/C++),a lthough I also use fbuild