project-config.jam 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 2017 Steven Watanabe
  2. #
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE.txt or copy at
  5. # https://www.bfgroup.xyz/b2/LICENSE.txt)
  6. import modules ;
  7. import os ;
  8. path-constant here : . ;
  9. local PYTHON = [ os.environ PYTHON_CMD ] ;
  10. using gcc : 4.8.3 : $(PYTHON) $(here)/src/gcc-4.8.3-linux.py : : <target-os>linux ;
  11. using gcc : 4.2.1 : $(PYTHON) $(here)/src/gcc-4.2.1-darwin.py : : <target-os>darwin ;
  12. # hard-code this to make the test work on other platforms
  13. modules.poke darwin : .host-osx-version : 10.11.0 ;
  14. using darwin : 4.2.1 : $(PYTHON) $(here)/src/darwin-4.2.1.py
  15. : <archiver>$(here)/src/bin/libtool
  16. <striper>$(here)/src/bin/strip
  17. : <target-os>darwin
  18. ;
  19. using clang-darwin : 3.9.0 : $(PYTHON) $(here)/src/clang-3.9.0-darwin.py
  20. : <archiver>$(here)/src/bin/ar
  21. ;
  22. using clang-linux : 3.9.0 : $(PYTHON) $(here)/src/clang-linux-3.9.0.py
  23. : <archiver>$(here)/src/bin/ar
  24. ;
  25. using clang-vxworks : 4.0.1 : $(PYTHON) $(here)/src/clang-vxworks-4.0.1.py
  26. : <linker>$(here)/src/bin/ld
  27. <archiver>$(here)/src/bin/ar
  28. ;
  29. using intel-darwin : 10.2 : $(PYTHON) $(here)/src/intel-darwin-10.2.py
  30. : <archiver>$(here)/src/bin/ar
  31. ;