Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > dc51b8a2b4c20bd1ac1b9c8f81249719 > files > 2369

boost-examples-1.55.0-8.mga5.noarch.rpm

# Copyright 2009-2012 Karsten Ahnert
# Copyright 2009-2012 Mario Mulansky
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or
# copy at http://www.boost.org/LICENSE_1_0.txt)


import boost ;
import os ;

boost.use-project ;


# change these lines to fit you configuration
local HOME = [ os.environ HOME ] ;
VEXCL_INCLUDE = $(HOME)/boost/vexcl ;
CUDA_INCLUDE = /usr/local/cuda/include ;


lib opencl : : <name>OpenCL ;

project : requirements
        <implicit-dependency>/boost//headers
        <include>../../../../..
        <include>$(VEXCL_INCLUDE)
        <include>$(CUDA_INCLUDE)
        <toolset>gcc:<cxxflags>-std=c++0x
        ;

exe lorenz_ensemble : lorenz_ensemble.cpp opencl ;