Config.in 1.2 KB

1234567891011121314151617181920212223242526272829
  1. config BR2_PACKAGE_JSON_FOR_MODERN_CPP
  2. bool "json-for-modern-cpp"
  3. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
  4. depends on BR2_INSTALL_LIBSTDCPP
  5. help
  6. Json for modern c++ has the following desing goals in mind:
  7. - Intuitive syntax. In languages such as Python, JSON feels
  8. like a first class data type. All the operator magic of
  9. modern C++ is used to achieve the same feeling in c++.
  10. - Trivial integration. The whole code consists of a single
  11. header file json.hpp. That's it. No library, no
  12. subproject, no dependencies, no complex build system. The
  13. class is written in vanilla C++11. All in all, everything
  14. should require no adjustment of compiler flags or project
  15. settings.
  16. - Serious testing. The class is heavily unit-tested and
  17. covers 100% of the code, including all exceptional
  18. behavior. Furthermore, it is checked with Valgrind that
  19. there are no memory leaks. To maintain high quality, the
  20. project is following the Core Infrastructure Initiative
  21. (CII) best practices.
  22. https://github.com/nlohmann/json
  23. comment "json-for-modern-cpp needs a toolchain w/ C++, gcc >= 4.9"
  24. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9