diff --git a/Scheduler/Scheduler.test.cc b/Scheduler/Scheduler.test.cc index b22dda7d1169799bfb9444b7a0583151d1c77524..71b33027aaaf85c5c1874f333ed3cd72511bc35a 100644 --- a/Scheduler/Scheduler.test.cc +++ b/Scheduler/Scheduler.test.cc @@ -162,7 +162,6 @@ namespace { ; } Scheduler::instance().terminate(); - } } diff --git a/satscons/SatSCons.py b/satscons/SatSCons.py index 92061a4d5f9b33fcab0c5dbcc4a6dc7c9356e9d6..7c8ea5b8c54dd2fcb5f15bf750433be030ee1e7b 100644 --- a/satscons/SatSCons.py +++ b/satscons/SatSCons.py @@ -122,3 +122,10 @@ def StandardLib(env, library, sources, testSources = None, LIBS = []): lib = env.Library(library,objects) env.Default(lib) env.Append(**{ 'LIB_' + library : lib }) + return lib + +def StandardBinary(env, binary, sources, testSources = None, LIBS = []): + objects = StandardObjects(env,sources,testSources,LIBS=LIBS) + program = env.Program(binary,objects) + env.Default(program) + return program