12
building.py
12
building.py
@@ -764,10 +764,7 @@ def DoBuilding(target, objects, is_rtt = False, build_lib = False):
|
|||||||
|
|
||||||
program = None
|
program = None
|
||||||
# check whether special buildlib option
|
# check whether special buildlib option
|
||||||
if build_lib:
|
lib_name = GetOption('buildlib')
|
||||||
lib_name = target
|
|
||||||
else:
|
|
||||||
lib_name = GetOption('buildlib')
|
|
||||||
|
|
||||||
if lib_name:
|
if lib_name:
|
||||||
objects = [] # remove all of objects
|
objects = [] # remove all of objects
|
||||||
@@ -796,7 +793,12 @@ def DoBuilding(target, objects, is_rtt = False, build_lib = False):
|
|||||||
for group in Projects:
|
for group in Projects:
|
||||||
local_group(group, objects)
|
local_group(group, objects)
|
||||||
|
|
||||||
program = Env.Program(target, objects)
|
if build_lib:
|
||||||
|
program = Env.Library(target, objects)
|
||||||
|
# add library copy action
|
||||||
|
Env.BuildLib(target, program)
|
||||||
|
else:
|
||||||
|
program = Env.Program(target, objects)
|
||||||
|
|
||||||
EndBuilding(target, program, is_rtt)
|
EndBuilding(target, program, is_rtt)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user