12 |
|
|
13 |
lib_name = 'brucecpp' |
lib_name = 'brucecpp' |
14 |
|
|
15 |
local_env.Append(LIBS = [boost_lib, 'esysUtils']) |
local_env.Append(LIBS = [boost_lib, 'esysUtils', 'escriptcpp']) |
16 |
|
|
|
local_env.sharedLinkHack(['escriptcpp',], libinstall, sources) |
|
|
|
|
17 |
lib = local_env.SharedLibrary(lib_name, sources) |
lib = local_env.SharedLibrary(lib_name, sources) |
18 |
|
|
19 |
include_path = Dir(lib_name, incinstall) |
include_path = Dir(lib_name, incinstall) |
20 |
|
|
21 |
local_env.Install(include_path, headers ) |
local_env.Install(include_path, headers ) |
22 |
local_env.Install(libinstall, lib) |
local_env.Install(libinstall, lib) |
|
local_env.Install(pyinstall+'/bruce', lib) |
|
23 |
|
|
24 |
# export the lib target since tests will depend on it |
# export the lib target since tests will depend on it |
25 |
# the lib target is a list of file nodes (why? win32 produces more than one output file: .lib, .dll, .pdb) |
# the lib target is a list of file nodes (why? win32 produces more than one output file: .lib, .dll, .pdb) |