On Wed, 2011-07-13 at 17:33 +0200, Jacob Carlborg wrote:
> target("main.d"); // builds "main.d" as an executable
The SCons equivalent is:
Program ( 'main.d' )
> Or:
>
> target("foobar"); // builds the directory "foobar" as a library
SCons (and I think Waf as well) does not support this idea (at least
currently). In SCons you have to say:
SharedLibrary ( 'libraryRootName' , Glob ( 'foobar/*.d' ) )
StaticLibrary ( 'libraryRootName' , Glob ( 'foobar/*.d' ) )
D support in Waf is currently far more sophisticated than that of SCons,
but is still based on being a bit more explicit that your proposal
above.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
