mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
Complete 'install' target.
This commit is contained in:
@@ -25,6 +25,7 @@ def add_options(vars):
|
||||
vars.Add('LIBS', converter=lambda v:v.split())
|
||||
vars.Add('PYTHON')
|
||||
vars.Add('PYTHONLIBS')
|
||||
vars.Add('prefix')
|
||||
vars.Add('boostbook_prefix')
|
||||
|
||||
ui.add_variable(vars, ("arch", "target architeture", platform.machine()))
|
||||
|
||||
@@ -24,6 +24,8 @@ def BoostLibrary(env, lib, sources, make_aliases = True, **kw):
|
||||
|
||||
if env.GetOption("install"):
|
||||
env.Alias(lib, env.Install("$prefix/lib", lib_node))
|
||||
env.Alias(lib, env.Install('$prefix/include/boost', '#/include/boost/python'))
|
||||
env.Alias(lib, env.Install('$prefix/include/boost', '#/include/boost/python.hpp'))
|
||||
return lib_node
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user