Subversion Repositories DevTools

Rev

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

Rev 369 Rev 4728
Line 1070... Line 1070...
1070
            my( $quoted_srcfile ) = quotemeta( $srcfile );
1070
            my( $quoted_srcfile ) = quotemeta( $srcfile );
1071
 
1071
 
1072
            if ( grep /^$quoted_srcfile$/, @::CSRCS ) {
1072
            if ( grep /^$quoted_srcfile$/, @::CSRCS ) {
1073
                push( @LIBCSRC, $srcfile );
1073
                push( @LIBCSRC, $srcfile );
1074
 
1074
 
1075
            } elsif ( grep /^$quoted_srcfile$/, @::CXXSRC ) {
1075
            } elsif ( grep /^$quoted_srcfile$/, @::CXXSRCS ) {
1076
                push( @LIBCXXSRC, $srcfile );
1076
                push( @LIBCXXSRC, $srcfile );
1077
 
1077
 
1078
            }
1078
            }
1079
        }
1079
        }
1080
    }
1080
    }
Line 1159... Line 1159...
1159
            my( $quoted_srcfile ) = quotemeta( $srcfile );
1159
            my( $quoted_srcfile ) = quotemeta( $srcfile );
1160
 
1160
 
1161
            if ( grep /^$quoted_srcfile$/, @::CSRCS ) {
1161
            if ( grep /^$quoted_srcfile$/, @::CSRCS ) {
1162
                push( @SHLIBCSRC, $srcfile );
1162
                push( @SHLIBCSRC, $srcfile );
1163
 
1163
 
1164
            } elsif ( grep /^$quoted_srcfile$/, @::CXXSRC ) {
1164
            } elsif ( grep /^$quoted_srcfile$/, @::CXXSRCS ) {
1165
                push( @SHLIBCXXSRC, $srcfile );
1165
                push( @SHLIBCXXSRC, $srcfile );
1166
 
1166
 
1167
            }
1167
            }
1168
        }
1168
        }
1169
    }
1169
    }
Line 1200... Line 1200...
1200
 
1200
 
1201
    ::Debug2( "BASE_Toolset->LD($name)" );
1201
    ::Debug2( "BASE_Toolset->LD($name)" );
1202
    ::Error ("BASE_Toolset does not support program generation" )
1202
    ::Error ("BASE_Toolset does not support program generation" )
1203
        unless ( defined &::ToolsetLD );
1203
        unless ( defined &::ToolsetLD );
1204
 
1204
 
1205
    ProcessArgs ( 'Using', @_ );                 # Proccess arguments
1205
    ProcessArgs ( 'Using', @_ );                # Proccess arguments
1206
 
1206
 
1207
    MakeIf::LibProcess( $pLibs );               # cook libraries
1207
    MakeIf::LibProcess( $pLibs );               # cook libraries
1208
 
1208
 
1209
    ::Debug3( " args: @$pArgs" );
1209
    ::Debug3( " args: @$pArgs" );
1210
    ::Debug3( " objs: @$pObjs" );
1210
    ::Debug3( " objs: @$pObjs" );
Line 1236... Line 1236...
1236
            my( $quoted_srcfile ) = quotemeta( $srcfile );
1236
            my( $quoted_srcfile ) = quotemeta( $srcfile );
1237
 
1237
 
1238
            if ( grep /^$quoted_srcfile$/, @::CSRCS ) {
1238
            if ( grep /^$quoted_srcfile$/, @::CSRCS ) {
1239
                push( @PROGCSRC, $srcfile );
1239
                push( @PROGCSRC, $srcfile );
1240
 
1240
 
1241
            } elsif ( grep /^$quoted_srcfile$/, @::CXXSRC ) {
1241
            } elsif ( grep /^$quoted_srcfile$/, @::CXXSRCS ) {
1242
                push( @PROGCXXSRC, $srcfile );
1242
                push( @PROGCXXSRC, $srcfile );
1243
 
1243
 
1244
            }
1244
            }
1245
        }
1245
        }
1246
    }
1246
    }
Line 1266... Line 1266...
1266
    }
1266
    }
1267
 
1267
 
1268
    ::MakePrint( "\n" );
1268
    ::MakePrint( "\n" );
1269
}
1269
}
1270
 
1270
 
-
 
1271
 
-
 
1272
#-------------------------------------------------------------------------------
-
 
1273
# Function        : PreprocessTests
-
 
1274
#
-
 
1275
# Description     : Invoke the underlying toolset functions to construct the 
-
 
1276
#                   rules to be run before any test runs.
-
 
1277
#
-
 
1278
# Inputs          : 
-
 
1279
#
-
 
1280
# Returns         :
-
 
1281
#
-
 
1282
sub PreprocessTests
-
 
1283
{
-
 
1284
    if ( defined &::ToolsetPreprocessTests )
-
 
1285
    {
-
 
1286
        ::ToolsetPreprocessTests( );
-
 
1287
    }
-
 
1288
 
-
 
1289
    ::MakePrint( "\n" );
-
 
1290
}
-
 
1291
 
-
 
1292
#-------------------------------------------------------------------------------
-
 
1293
# Function        : PostprocessTests
-
 
1294
#
-
 
1295
# Description     : Invoke the underlying toolset functions to construct the 
-
 
1296
#                   rules to be run after all tests run.
-
 
1297
#
-
 
1298
# Inputs          : 
-
 
1299
#
-
 
1300
# Returns         :
-
 
1301
#
-
 
1302
sub PostprocessTests
-
 
1303
{
-
 
1304
    if ( defined &::ToolsetPostprocessTests )
-
 
1305
    {
-
 
1306
        ::ToolsetPostprocessTests( );
-
 
1307
    }
-
 
1308
 
-
 
1309
    ::MakePrint( "\n" );
-
 
1310
}
-
 
1311
 
-
 
1312
#-------------------------------------------------------------------------------
-
 
1313
# Function        : CollateTestResults
-
 
1314
#
-
 
1315
# Description     : Invoke the underlying toolset functions to construct the 
-
 
1316
#                   rules to be run after all test postprocessors have completed.
-
 
1317
#
-
 
1318
# Inputs          : 
-
 
1319
#
-
 
1320
# Returns         :
-
 
1321
#
-
 
1322
sub CollateTestResults
-
 
1323
{
-
 
1324
    if ( defined &::ToolsetCollateTestResults )
-
 
1325
    {
-
 
1326
        ::ToolsetCollateTestResults( );
-
 
1327
    }
-
 
1328
 
-
 
1329
    ::MakePrint( "\n" );
-
 
1330
}
-
 
1331
 
1271
#-------------------------------------------------------------------------------
1332
#-------------------------------------------------------------------------------
1272
# Function        : PROJECT
1333
# Function        : PROJECT
1273
#
1334
#
1274
# Description     : Invoke the underlying toolset functions to construct a
1335
# Description     : Invoke the underlying toolset functions to construct a
1275
#                   project
1336
#                   project