Jamfile.v2 1001 B

12345678910111213141516171819202122232425262728293031
  1. # Boost.Fiber Library Examples Jamfile
  2. # Copyright Oliver Kowalke 2017.
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE_1_0.txt or copy at
  5. # http://www.boost.org/LICENSE_1_0.txt)
  6. # For more information, see http://www.boost.org/
  7. import common ;
  8. import feature ;
  9. import indirect ;
  10. import modules ;
  11. import os ;
  12. import toolset ;
  13. project boost/fiber/example/numa
  14. : requirements
  15. <library>../../build//boost_fiber
  16. <library>../../build//boost_fiber_numa
  17. <target-os>solaris:<linkflags>"-llgrp"
  18. <target-os>windows:<define>_WIN32_WINNT=0x0601
  19. <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
  20. <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  21. <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
  22. <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
  23. <link>static
  24. <threading>multi
  25. ;
  26. exe topology : topology.cpp ;