1. 29 7月, 2017 1 次提交
    • D
      REFACTOR: rewrite CMakeLists.txt for better inlcude and reuse · f4349423
      dan-42 提交于
      The rewrite uses more cmake build-in automatisms and build-in generates
      variables to allow better generic reuse.
      * cmake  files are installed to
      ``` <install_prefix>/lib/cmake/nlohmann_json/ ``` for best support on
      most systems
      * include path is set to ``` include ```  for usage as ``` #include
      <nlohmann/json.hpp> ```
      f4349423
  2. 27 7月, 2017 1 次提交
  3. 11 7月, 2017 1 次提交
  4. 25 2月, 2017 1 次提交
  5. 23 2月, 2017 1 次提交
  6. 19 2月, 2017 1 次提交
    • T
      cmake compile time reduce using cotire · 85ce4d7b
      Tushar Maheshwari 提交于
      - Add prefix header
        - Include catch.hpp
        - Include json.hpp
          - Replace private with public for all json_unit files
      - Move `unit.cpp` to an object library
      - cotire issue: strip whitespace from CMAKE_INCLUDE_SYSTEM_FLAG_CXX
      85ce4d7b
  7. 28 1月, 2017 1 次提交
  8. 02 1月, 2017 1 次提交
  9. 17 12月, 2016 1 次提交
  10. 03 12月, 2016 1 次提交
  11. 03 11月, 2016 1 次提交
  12. 15 10月, 2016 1 次提交
  13. 26 9月, 2016 1 次提交
  14. 15 9月, 2016 1 次提交
  15. 12 9月, 2016 1 次提交
  16. 01 9月, 2016 1 次提交
  17. 31 7月, 2016 1 次提交
  18. 18 5月, 2016 1 次提交
    • R
      Define CMake/CTest tests · 639d6321
      Robert Marki 提交于
      Instead of copying the test executable and the JSON files used by
      the tests at install time, define CMake/CTest tests for running
      the json_unit executable from any build directory with the project's
      source directory as its working directory.
      
      - call enable_testing in the main lists file to allow the definition
      of tests
      - remove install commands from the test directory's lists file
      - define two tests
        - json_unit_default for running the default tests by executing
      json_unit without any arguments
        - json_unit_all for running all the tests by executing json_unit
      with the "*" argument
      - update the AppVeyor configuration file to use the new testing method
      639d6321
  19. 11 5月, 2016 4 次提交
    • C
      Introduce structure to the test/ directory · af76508f
      Chris Kitching 提交于
      This introduces a clear separation between test data and test
      binaries. Test data is moved into test/data, and the test binaries
      move into test/src. A new CMake script specific to building the
      tests is introduced in /test to slightly clean up the toplevel
      one.
      
      As well as tidying things up, this makes the next step trivial...
      af76508f
    • C
      Use definitely-unique target/project name · 4e6aacda
      Chris Kitching 提交于
      There exist lots of json libraries, and project/target names must
      be globally unique. If someone integrated with this library in a
      particularly stupid way, using a generic name like "json" might
      cause a problem.
      4e6aacda
    • C
      Don't use variable for the test target name · b6becce8
      Chris Kitching 提交于
      I'm not sure that using a variable for target names really helps
      with clarity. Unlike paths, target names aren't really something
      you change. In a sense, targets are themselves a sort of variable,
      so having a variable to name a variable seems just a bit gnarly.
      b6becce8
    • C
      6a98a6c9
  20. 25 4月, 2016 4 次提交
  21. 22 9月, 2015 1 次提交
  22. 17 7月, 2015 3 次提交
  23. 20 6月, 2015 1 次提交
  24. 28 4月, 2015 1 次提交
  25. 27 4月, 2015 4 次提交
  26. 01 2月, 2015 1 次提交
    • N
      cleanup · befd90de
      Niels 提交于
      befd90de
  27. 11 1月, 2015 1 次提交
  28. 05 1月, 2015 1 次提交