digitalmars.D.learn - dmd compile large project
- Erik van Velzen (3/3) Jan 25 2014 I just downloaded a larger project from Github without a build
- Uplink_Coder (1/1) Jan 25 2014 try dub :D
- Dicebot (6/9) Jan 25 2014 If it has "package.json" file in root, that it is a dub
- Erik van Velzen (4/4) Jan 25 2014 Thanks for the input I was thinking there maybe was an easy way
I just downloaded a larger project from Github without a build script or anything. Is there an easy way to compile it to a library or object files?
Jan 25 2014
On Saturday, 25 January 2014 at 22:01:59 UTC, Erik van Velzen wrote:I just downloaded a larger project from Github without a build script or anything. Is there an easy way to compile it to a library or object files?If it has "package.json" file in root, that it is a dub (http://code.dlang.org/download) project. Another option can be that author simply expects you to do `rdmd main.d` but that is very unlikely for larger project.
Jan 25 2014
Thanks for the input I was thinking there maybe was an easy way that I wasn't aware of. I only wanted to use a small part of the project so I just made a list of those files and their dependencies and compiled that.
Jan 25 2014