Subversion Repositories DevTools

Rev

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

Rev 5035 Rev 5411
Line 123... Line 123...
123
                                                # 0: Don't write progdeps. Prog is Phony
123
                                                # 0: Don't write progdeps. Prog is Phony
124
our $ScmToolsetSingleType   = 0;                # Toolset does not support Debug and Production
124
our $ScmToolsetSingleType   = 0;                # Toolset does not support Debug and Production
125
our $ScmToolsetProgSource   = ();               # Toolset Program Source
125
our $ScmToolsetProgSource   = ();               # Toolset Program Source
126
our $ScmToolsetSoName       = 0;                # 1: Shared library supports SoName
126
our $ScmToolsetSoName       = 0;                # 1: Shared library supports SoName
127
our $ScmToolsetNillLibSrc   = 0;                # 1: Librarys created without source specified
127
our $ScmToolsetNillLibSrc   = 0;                # 1: Librarys created without source specified
-
 
128
our %ScmToolsetProperties   = ();               # Toolset specific features and limitations
-
 
129
                                                # Known values: UnitTests, AutoUnitTests
128
my  %ScmGlobalOptions       = ();               # Hash of Global(platform) options. Access via functions
130
my  %ScmGlobalOptions       = ();               # Hash of Global(platform) options. Access via functions
129
 
131
 
130
our $ScmRoot                = "";
132
our $ScmRoot                = "";
131
our $ScmMakelib             = "";
133
our $ScmMakelib             = "";
132
our $ScmPlatform            = "";
134
our $ScmPlatform            = "";
Line 5307... Line 5309...
5307
    #
5309
    #
5308
    #   Collect user arguments
5310
    #   Collect user arguments
5309
    #   They are all processed within the toolset
5311
    #   They are all processed within the toolset
5310
    #
5312
    #
5311
    my @tool_options;
5313
    my @tool_options;
-
 
5314
    my $unit_tests;
-
 
5315
    my $auto_tests;
5312
    foreach ( @elements )
5316
    foreach ( @elements )
5313
    {
5317
    {
5314
        if ( m/^--Debug/ ) {
5318
        if ( m/^--Debug/ ) {
5315
            $PROJECTS{$proj}{'Debug'} = 1;
5319
            $PROJECTS{$proj}{'Debug'} = 1;
5316
 
5320
 
Line 5348... Line 5352...
5348
            _PackageFromProject( $1, $proj, $basedir, 'Tool', 'D', $2 );
5352
            _PackageFromProject( $1, $proj, $basedir, 'Tool', 'D', $2 );
5349
 
5353
 
5350
        } elsif ( m/^--(Package|Install)/ ) {
5354
        } elsif ( m/^--(Package|Install)/ ) {
5351
            Error("MakeProject. Unknown $1 option: $_");
5355
            Error("MakeProject. Unknown $1 option: $_");
5352
 
5356
 
-
 
5357
        } elsif ( m/^--UnitTest/ ) {
-
 
5358
            $unit_tests = 1;
-
 
5359
 
-
 
5360
        } elsif ( m/^--AutoTest/ ) {
-
 
5361
            $auto_tests = 1;
-
 
5362
 
5353
        } else {
5363
        } else {
5354
            push @tool_options, $_;
5364
            push @tool_options, $_;
5355
        }
5365
        }
5356
    }
5366
    }
5357
 
5367
 
Line 5360... Line 5370...
5360
    #
5370
    #
5361
    $PROJECTS{$proj}{'options'} = \@tool_options;
5371
    $PROJECTS{$proj}{'options'} = \@tool_options;
5362
    $PROJECTS{$proj}{'name'} = $proj;
5372
    $PROJECTS{$proj}{'name'} = $proj;
5363
    $PROJECTS{$proj}{'project'} = $project;
5373
    $PROJECTS{$proj}{'project'} = $project;
5364
    $PROJECTS{$proj}{'basedir'} = $basedir;
5374
    $PROJECTS{$proj}{'basedir'} = $basedir;
-
 
5375
    $PROJECTS{$proj}{'unittest'} = $unit_tests if ( $unit_tests );
-
 
5376
    $PROJECTS{$proj}{'autotest'} = $auto_tests if ( $auto_tests );
5365
    UniquePush (\@PROJECTS_ORDER, $proj);
5377
    UniquePush (\@PROJECTS_ORDER, $proj);
5366
 
5378
 
5367
    #
5379
    #
5368
    #   Validate some of the arguments
5380
    #   Validate some of the arguments
5369
    #
5381
    #