MCPcopy Create free account
hub / github.com/devosoft/avida / find

Function find

avida-core/support/utils/AvidaUtils/BoostPythonTool.py:61–77  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

59 return result
60
61def find(env):
62 boost_python_lib = _checkKeySubst(env, 'boostPythonLib')
63 boost_python_lib_dir = _checkKeySubst(env, 'boostPythonLibDir')
64 boost_include_dir = _checkKeySubst(env, 'boostIncludeDir')
65 env2 = env.Copy()
66 conf = env2.Configure(custom_tests = {'CheckBoostPython' : CheckBoostPython})
67 result = conf.CheckBoostPython()
68 conf.Finish()
69 if not result:
70 env.Append(
71 BOOST_PYTHON_TOOL_ERR = """
72BoostPythonTool error:
73 Boost.Python not functional: I tried and failed to use Boost.Python to
74 make a small Python module. Are command-line options "boostPythonLib",
75 "boostPythonLibDir", "boostIncludeDir" set correctly?
76"""
77 )
78
79
80ShCXXAction = SCons.Action.Action("$BOOST_PYTHON_SHCXXCOM", "$BOOST_PYTHON_SHCXXCOMSTR")

Callers 2

generateFunction · 0.70
existsFunction · 0.70

Calls 4

_checkKeySubstFunction · 0.70
CopyMethod · 0.45
FinishMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected