comparison builder.d @ 45:01bbf3f6f966

Cleanups
author daveb
date Mon, 02 Aug 2010 14:44:12 +0930
parents d0604b062db8
children 06b4504cbcb0
comparison
equal deleted inserted replaced
44:2b9329ed0f0e 45:01bbf3f6f966
509 // an object file is built from its source 509 // an object file is built from its source
510 override void build() { 510 override void build() {
511 writefln("Object %s", mPath); 511 writefln("Object %s", mPath);
512 scope cmd = new StringFormatter; 512 scope cmd = new StringFormatter;
513 513
514 cmd.format("dmd -c -g"); 514 cmd.format("dmd -c");
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 %s", dirname(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);