Skip to content
Snippets Groups Projects
Commit e3884fab authored by sbund's avatar sbund
Browse files

Add StandardBinary target

parent 7fcd8a67
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,6 @@ namespace { ...@@ -162,7 +162,6 @@ namespace {
; ;
} }
Scheduler::instance().terminate(); Scheduler::instance().terminate();
} }
} }
......
...@@ -122,3 +122,10 @@ def StandardLib(env, library, sources, testSources = None, LIBS = []): ...@@ -122,3 +122,10 @@ def StandardLib(env, library, sources, testSources = None, LIBS = []):
lib = env.Library(library,objects) lib = env.Library(library,objects)
env.Default(lib) env.Default(lib)
env.Append(**{ 'LIB_' + library : 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment