Jamfile.v2 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Wave: A Standard compliant C++ preprocessor
  2. #
  3. # Boost Wave Library Build Jamfile
  4. #
  5. # http://www.boost.org/
  6. #
  7. # Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost
  8. # Software License, Version 1.0. (See accompanying file
  9. # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  10. # Make sure all of Wave is compiled with threading disabled. We still need
  11. # to link with Boost.Thread, but no multi-threaded features are being used
  12. # in the Wave tool anyway.
  13. import feature ;
  14. import option ;
  15. feature.feature wavetool
  16. : on
  17. : optional composite propagated
  18. ;
  19. feature.compose <wavetool>on
  20. : <define>BOOST_WAVE_SUPPORT_THREADING=0
  21. ;
  22. ###############################################################################
  23. project
  24. : requirements
  25. <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
  26. <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
  27. ;
  28. exe wave
  29. :
  30. ../cpp.cpp
  31. /boost//wave
  32. /boost//program_options
  33. /boost//filesystem
  34. /boost//serialization
  35. /boost//system
  36. /boost//thread
  37. /boost//date_time
  38. :
  39. <threading>multi
  40. # <debug-symbols>on
  41. <wavetool>on
  42. :
  43. release
  44. ;
  45. local bindir = [ option.get bindir : ../../../dist/bin ] ;
  46. local libdir = [ option.get libdir : ../../../dist/lib ] ;
  47. install dist-bin
  48. :
  49. wave
  50. :
  51. <install-type>EXE
  52. <location>$(bindir)
  53. :
  54. release
  55. ;
  56. install dist-lib
  57. :
  58. wave
  59. :
  60. <install-type>LIB
  61. <location>$(libdir)
  62. :
  63. release
  64. ;