Jamfile.v2 752 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 2012 Karsten Ahnert
  2. # Copyright 2013 Mario Mulansky
  3. #
  4. # Distributed under the Boost Software License, Version 1.0.
  5. # (See accompanying file LICENSE_1_0.txt or
  6. # copy at http://www.boost.org/LICENSE_1_0.txt)
  7. import boost ;
  8. import os ;
  9. boost.use-project ;
  10. # change these lines to fit you configuration
  11. local HOME = [ os.environ HOME ] ;
  12. local VEXCL_INCLUDE = [ os.environ VEXCL_ROOT ] ;
  13. OPENCL_INCLUDE = /usr/local/cuda/include ;
  14. lib opencl : : <name>OpenCL ;
  15. project : requirements
  16. <implicit-dependency>/boost//headers
  17. <include>$(VEXCL_INCLUDE)
  18. <include>$(OPENCL_INCLUDE)
  19. <toolset>gcc:<cxxflags>-std=c++0x
  20. <library>/boost//system/
  21. ;
  22. exe lorenz_ensemble : lorenz_ensemble.cpp opencl ;