Subversion Repositories DevTools

Rev

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

Rev 4034 Rev 4094
Line 360... Line 360...
360
    Init( 'gcc' );
360
    Init( 'gcc' );
361
    ToolsetDefines( "gcc.def" );
361
    ToolsetDefines( "gcc.def" );
362
    ToolsetRules( "gcc.rul" );
362
    ToolsetRules( "gcc.rul" );
363
    ToolsetRules( "standard.rul" );
363
    ToolsetRules( "standard.rul" );
364
 
364
 
-
 
365
 
-
 
366
    PlatformDefine( "CTAGS_EXE:= ctags" );
-
 
367
    ToolsetRequire( "exctags" );                # and Exuberant Ctags
-
 
368
 
365
#   Create a standard data structure
369
#   Create a standard data structure
366
#   This is a hash of hashes
370
#   This is a hash of hashes
367
#       The first hash is keyed by CompileOption keyword
371
#       The first hash is keyed by CompileOption keyword
368
#       The second hash contains pairs of values to set or remove
372
#       The second hash contains pairs of values to set or remove
369
#
373
#
Line 391... Line 395...
391
    {
395
    {
392
        CompileOptions('*', split(',',$GCCToolchain->{COMPILER_OPTIONS}) );
396
        CompileOptions('*', split(',',$GCCToolchain->{COMPILER_OPTIONS}) );
393
    }
397
    }
394
}
398
}
395
 
399
 
-
 
400
###############################################################################
-
 
401
#   ToolsetCTAGS()
-
 
402
#       This subroutine takes the user options and builds the rules
-
 
403
#       required to build the CTAGS database.
-
 
404
#
-
 
405
#   Arguments:
-
 
406
#       --xxx                   No arguments currently defined
-
 
407
#
-
 
408
#   Output:
-
 
409
#       [ctags:]
-
 
410
#           $(EXCTAGS)
-
 
411
#
-
 
412
###############################################################################
-
 
413
 
-
 
414
sub ToolsetCTAGS
-
 
415
{
-
 
416
    EXCTAGS( @_ );
-
 
417
}
-
 
418
 
396
 
419
 
397
###############################################################################
420
###############################################################################
398
#   ToolsetCC( $source, $obj, \@args )
421
#   ToolsetCC( $source, $obj, \@args )
399
#       This subroutine takes the user options and builds the rule(s)
422
#       This subroutine takes the user options and builds the rule(s)
400
#       required to compile the source file 'source' to 'obj'
423
#       required to compile the source file 'source' to 'obj'