Jamfile 806 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Boost.GIL (Generic Image Library) - examples
  2. #
  3. # Copyright (c) 2018 Mateusz Loskot <mateusz@loskot.net>
  4. #
  5. # Use, modification and distribution is subject to the Boost Software License,
  6. # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. # http://www.boost.org/LICENSE_1_0.txt)
  8. import ac ;
  9. import regex ;
  10. import testing ;
  11. using libjpeg : : : : true ; # work around bug on master
  12. project
  13. : # requirements
  14. ;
  15. # TODO: Add missing examples
  16. local sources =
  17. affine.cpp
  18. dynamic_image.cpp
  19. histogram.cpp
  20. harris.cpp
  21. sobel_scharr.cpp
  22. ;
  23. local targets ;
  24. for local s in $(sources)
  25. {
  26. targets +=
  27. [ compile $(s) :
  28. [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ]
  29. ]
  30. ;
  31. }
  32. alias examples : $(targets) ;