www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - dmd compile large project

reply "Erik van Velzen" <erik evanv.nl> writes:
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
next sibling parent "Uplink_Coder" <someemail someprovider.some> writes:
try dub :D
Jan 25 2014
prev sibling parent reply "Dicebot" <public dicebot.lv> writes:
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
parent "Erik van Velzen" <erik evanv.nl> writes:
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