Subversion Repositories DevTools

Rev

Rev 245 | Rev 251 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 245 Rev 247
Line 668... Line 668...
668
        }
668
        }
669
    }
669
    }
670
 
670
 
671
    #
671
    #
672
    #   Preload Src with some known files
672
    #   Preload Src with some known files
-
 
673
    #   The Known Files list is relative to ScmRoot
673
    #
674
    #
674
    Debug( "ScmSrcDir\t=$ScmSrcDir" );
675
    Debug( "ScmRoot\t=$ScmRoot" );
-
 
676
    while ( my ($file, $path) = each %::BUILD_KNOWNFILES )
-
 
677
    {
-
 
678
        Debug( "KnownSrc: $file, $path");
675
    $SRCS{'descpkg'} = "$ScmRoot/$ScmSrcDir/descpkg";
679
        $SRCS{$file} = $ScmRoot .'/'. $path;
-
 
680
    }
676
}
681
}
677
 
682
 
678
 
683
 
679
sub CommandLine
684
sub CommandLine
680
{
685
{
Line 1472... Line 1477...
1472
    return if ( ! ActivePlatform($platforms) );
1477
    return if ( ! ActivePlatform($platforms) );
1473
 
1478
 
1474
    for (@elements)
1479
    for (@elements)
1475
    {
1480
    {
1476
        my $oref;
1481
        my $oref;
1477
        $_ = lc( $_ );
-
 
1478
 
1482
 
1479
        #
1483
        #
1480
        #   The toolset option may be a text string or a definition
1484
        #   The toolset option may be a text string or a definition
1481
        #       Name        - A text string
1485
        #       Name        - A text string
1482
        #       Name=Value  - A value
1486
        #       Name=Value  - A value
Line 1486... Line 1490...
1486
        if ( $key =~ m~(.*=)(.*)~ )
1490
        if ( $key =~ m~(.*=)(.*)~ )
1487
        {
1491
        {
1488
            $key = $1;
1492
            $key = $1;
1489
            $value = $2 || '';
1493
            $value = $2 || '';
1490
        }
1494
        }
-
 
1495
        $key = lc( $key );
1491
 
1496
 
1492
        #
1497
        #
1493
        #   Examine the global flags
1498
        #   Examine the global flags
1494
        #   Then the toolset extensions
1499
        #   Then the toolset extensions
1495
        #   Then just drop it
1500
        #   Then just drop it
Line 1518... Line 1523...
1518
                    {
1523
                    {
1519
                        Warning ("Compile Option ignored: $_");
1524
                        Warning ("Compile Option ignored: $_");
1520
                        next;
1525
                        next;
1521
                    }
1526
                    }
1522
                }
1527
                }
-
 
1528
                elsif ( defined $value )
-
 
1529
                {
-
 
1530
                    $uvalue = $value;
-
 
1531
                }
1523
 
1532
 
1524
                $ScmCompilerOpts{$ukey} = $uvalue;
1533
                $ScmCompilerOpts{$ukey} = $uvalue;
1525
            }
1534
            }
1526
            else
1535
            else
1527
            {
1536
            {