Commit ea4ecdb5 authored by Sebastien Binet's avatar Sebastien Binet Committed by Graeme Stewart
Browse files

hwafize (AtlasBoost-00-00-07)

parent d05a1d19
package AtlasBoost
author Paolo Calafiura <Paolo.Calafiura@cern.ch>
use ExternalPolicy ExternalPolicy-00-* External
use Boost v* LCG_Interfaces
macro_append Boost_linkopts " $(Boost_linkopts_system) $(Boost_linkopts_filesystem) $(Boost_linkopts_thread) "
## -*- python -*-
## waf imports
import waflib.Logs as msg
PACKAGE = {
"name": "External/AtlasBoost",
"authors": ["Paolo Calafiura <Paolo.Calafiura@cern.ch>"],
}
### ---------------------------------------------------------------------------
def pkg_deps(ctx):
## public dependencies
ctx.use_pkg("External/ExternalPolicy")
ctx.use_pkg("LCG_Interfaces/Boost")
return # pkg_deps
### ---------------------------------------------------------------------------
def options(ctx):
return # options
### ---------------------------------------------------------------------------
def configure(ctx):
## define an AtlasBoost (default) use-rule from the boost one
## somewhat mimicking the CMT-AtlasBoost behaviour
for d in ("INCLUDES", "CXXFLAGS", "DEFINES", "LIBPATH"):
ctx.env["%s_AtlasBoost" % d] = ctx.env["%s_boost" % d]
boost_system = ctx.env["LIB_boost-system"]
boost_filesystem = ctx.env["LIB_boost-filesystem"]
boost_thread = ctx.env["LIB_boost-thread"]
ctx.env["LIB_AtlasBoost"] = boost_system + boost_filesystem + boost_thread
return # configure
### ---------------------------------------------------------------------------
def build(ctx):
return # build
## EOF ##
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment