Changeset 57
- Timestamp:
- 07/04/09 23:01:09 (3 years ago)
- Files:
-
- trunk/Source/bud.cfg (added)
- trunk/Source/build.d (modified) (1 diff)
- trunk/Source/build_bn.d (modified) (1 diff)
- trunk/Source/example_build.cfg (deleted)
- trunk/Source/gdc_build.cfg (deleted)
- trunk/Source/nix_dmd_build.cfg (deleted)
- trunk/Source/nix_gdmd_build.cfg (deleted)
- trunk/Source/nix_gnu_build.cfg (deleted)
- trunk/Source/opts.d (modified) (2 diffs)
- trunk/Source/opts_bn.d (modified) (1 diff)
- trunk/Source/source.d (modified) (4 diffs)
- trunk/Source/source_bn.d (modified) (1 diff)
- trunk/Source/util/file2_bn.d (modified) (1 diff)
- trunk/Source/util/fileex_bn.d (modified) (1 diff)
- trunk/Source/util/linetoken_bn.d (modified) (1 diff)
- trunk/Source/util/pathex_bn.d (modified) (1 diff)
- trunk/Source/util/str_bn.d (modified) (1 diff)
- trunk/Source/win_dmd_build.cfg (deleted)
- trunk/Source/win_gnu_build.cfg (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/build.d
r56 r57 3382 3382 else if (util.str.begins(lArg, "LINKSWITCH=") == True) 3383 3383 { 3384 opts.LinkerDefs = lArg[11..$]; 3384 if (opts.LinkerDefs.length > 0) 3385 opts.LinkerDefs ~= " "; 3386 3387 opts.LinkerDefs ~= lArg[11..$]; 3388 lCmdCnt += 1; 3389 } 3390 else if (util.str.begins(lArg, "LIBSWITCH=") == True) 3391 { 3392 if (opts.LibrarianOpts.length > 0) 3393 opts.LibrarianOpts ~= " "; 3394 3395 opts.LibrarianOpts ~= lArg[10..$]; 3396 lCmdCnt += 1; 3397 } 3398 else if (util.str.begins(lArg, "COMPSWITCH=") == True) 3399 { 3400 vCompilerArgs ~= lArg[11..$]; 3385 3401 lCmdCnt += 1; 3386 3402 } trunk/Source/build_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 34 03;4 long auto_build_number = 3411; trunk/Source/opts.d
r55 r57 69 69 string MacroExtension; 70 70 string DdocExtension; 71 string DiExtension; 71 72 string LinkerStdOut; 72 73 string RDFName; … … 202 203 case "macroextension" : { MacroExtension = lValue; break; } 203 204 case "ddocextension" : { DdocExtension = lValue; break; } 205 case "diextension" : { DiExtension = lValue; break; } 204 206 case "compilerexe" : { CompilerExe = lValue; break; } 205 207 case "compileonly" : { CompileOnly = lValue; break; } trunk/Source/opts_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 6 64;4 long auto_build_number = 672; trunk/Source/source.d
r55 r57 429 429 } 430 430 431 if (std.path.getExt(pFileName) != "ddoc")431 if (std.path.getExt(pFileName) != opts.DdocExtension) 432 432 { 433 433 string lAltName; 434 mNoLink = (std.path.getExt(pFileName) == "di");434 mNoLink = (std.path.getExt(pFileName) == opts.DiExtension); 435 435 mModuleName = FileToModulename(pFileName, lAltName); 436 lObjectName = addExt(pFileName, opts.ObjExtension);436 lObjectName = addExt(pFileName, opts.ObjExtension); 437 437 mObjectName = ReducePathName(ExpandPathName(lObjectName, False)); 438 438 } … … 445 445 } 446 446 447 /* If a specific path for object files has been supplied448 on the command line, and the current source file is449 relative to the current directory, then we need to450 prepend the specified object location path.451 */452 if (ObjWritePath.length != 0 && mObjectName.length != 0)453 {454 if (mObjectName == lObjectName)455 {456 mObjectName = ObjWritePath ~ std.path.getBaseName(mObjectName);457 util.pathex.MakePath(mObjectName);458 }459 }460 461 447 if (opts.UseModBaseName == True) 462 448 { 463 449 mObjectName = getBaseName(mObjectName); 464 450 } 451 else 452 { 453 /* If a specific path for object files has been supplied 454 on the command line, and the current source file is 455 relative to the current directory, then we need to 456 prepend the specified object location path. 457 */ 458 if (ObjWritePath.length != 0 && mObjectName.length != 0) 459 { 460 if (mObjectName == lObjectName) 461 { 462 mObjectName = ObjWritePath ~ std.path.getBaseName(mObjectName); 463 util.pathex.MakePath(mObjectName); 464 } 465 } 466 } 465 467 466 468 mBuildNumber = -1; … … 536 538 } 537 539 538 if (std.path.getExt(mFileName) != "ddoc")540 if (std.path.getExt(mFileName) != opts.DdocExtension) 539 541 { 540 542 // Grab the original text, which must exist. … … 1524 1526 pPos = lSavedPos; 1525 1527 } 1526 if (std.string.tolower(std.path.getExt(lCurrentToken)) == "ddoc")1528 if (std.string.tolower(std.path.getExt(lCurrentToken)) == opts.DdocExtension) 1527 1529 { 1528 1530 mReferencedImports ~= lCurrentToken.dup; trunk/Source/source_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 31 04;4 long auto_build_number = 3112; trunk/Source/util/file2_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 10 86;4 long auto_build_number = 1094; trunk/Source/util/fileex_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 2 899;4 long auto_build_number = 2907; trunk/Source/util/linetoken_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 302 0;4 long auto_build_number = 3028; trunk/Source/util/pathex_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 29 42;4 long auto_build_number = 2950; trunk/Source/util/str_bn.d
r56 r57 2 2 // This file is automatically maintained by the BUILD utility, 3 3 // Please refrain from manually editing it. 4 long auto_build_number = 32 62;4 long auto_build_number = 3270;
