www.digitalmars.com         C & C++   DMDScript  

D - templates in libraries causes missing stuff

if I try dmd main.d helpers.d it works
but if you run build.bat it fails

 Error 42: Symbol Undefined

build.bat is ....
dmd -c helpers.d
lib mylib +-helpers.obj,,
dmd -c main.d
set LIB=c:\dmd\lib;c:\dm\lib
link main.obj,main,,mylib+phobos+snn+uuid/noi

I rely on this for my build env, as I have over 32 d files to include and I
started getting complains from dmd about cmd line length.
(and it allows me to share code between projects).
Aug 02 2003