comparison builder.d @ 42:3c1b0c4d5847

Make builder work for dmd 2.047
author daveb
date Tue, 15 Jun 2010 17:57:42 +0930
parents b6c34f1fc7f3
children d0604b062db8
comparison
equal deleted inserted replaced
41:f2e4e1d29b98 42:3c1b0c4d5847
513 513
514 cmd.format("dmd -c -g"); 514 cmd.format("dmd -c -g");
515 foreach (path; Global.bundlePaths) { 515 foreach (path; Global.bundlePaths) {
516 cmd.format(" -I", path); 516 cmd.format(" -I", path);
517 } 517 }
518 cmd.format(" -od%s -of%s %s", dirname(mPath), basename(mPath), mSource.mPath); 518 cmd.format(" -od%s %s", dirname(mPath), mSource.mPath);
519 cmd.format(" @%s", Global.optionsPath); 519 cmd.format(" @%s", Global.optionsPath);
520 520
521 if (std.process.system(cmd.str)) { 521 if (std.process.system(cmd.str)) {
522 writefln("%s", cmd.str); 522 writefln("%s", cmd.str);
523 error(format("build of %s failed", mPath)); 523 error(format("build of %s failed", mPath));