check_value.cpp 546 B

1234567891011121314151617181920212223242526
  1. /*
  2. Copyright Rene Rivera 2015
  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. */
  7. /*
  8. * Simple program that just prints out the externally
  9. * defined CHECK_VALUE def. It's used to test the check
  10. * program and the related BB support.
  11. */
  12. #include <boost/predef.h>
  13. #include <iostream>
  14. #include <string>
  15. #ifndef CHECK_VALUE
  16. #define CHECK_VALUE "undefined"
  17. #endif
  18. int main()
  19. {
  20. std::cout << "CHECK_VALUE == " << CHECK_VALUE << "\n" ;
  21. return 0;
  22. }