json-schema-validator/test
Luke Kersting 8a7d1d3fde Adapt CMake project name to be coherent with nlohmann::json's naming
Now when json-schema-validator is installed CMake config files are installed in the lib/cmake/json-schema-validator directory.
The install json-schema-validatorTargets.cmake file properly imports the json-hpp and json-schema-validator libraries.
The install json-schema-validatorConfig.cmake file is used by CMake find_package function to include the json-schema-validatorTargets.cmake file and to set the variable JSON_SCHEMA_VALIDATOR_INCLUDE_DIRS to the install include directory.
To use find_package to find the json-schema-validator simply include.
A new test (test_cmake_install) has been added.

When NLohmann's JSON is install with CMake, it follows a certain
naming convention.

As we learned to do proper CMake-install thanks to @lkersting's work
this project now adapts to the way NLohmann is doing it. Namely:

- json-schema.hpp is now located (and installed)
  in a nlohmann/-subdirectory
- the CMake library and project's name is now
  nlohmann_json_schema_validator

Instead of doing non-standard acrobatics to find the json.hpp
now find_package is used in order to find NLohmann's package

Co-Authored-By: Patrick Boettcher <p@yai.se>
2019-12-05 11:12:23 +01:00
..
cmake-install Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
issue-9 Complete rewrite of the validator - aiming a 2.0-release 2018-12-27 16:59:19 +01:00
issue-12 tests: add some issue-regression-tests 2018-03-30 12:26:52 +02:00
issue-27 tests: add some issue-regression-tests 2018-03-30 12:26:52 +02:00
issue-48 add non-regression test for #48 2019-01-24 18:27:19 +01:00
issue-54 fix #54: use signed-integer-validator even for number_unsigned 2019-03-29 10:57:01 +01:00
issue-75 fix #75: unknown keywords may contain sub-schemas 2019-11-27 13:53:28 +01:00
JSON-Schema-Test-Suite Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
CMakeLists.txt Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
errors.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
id-ref.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
issue-70-root-schema-constructor.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
issue-70.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
string-format-check-test.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00
test-pipe-in.sh tests: add some issue-regression-tests 2018-03-30 12:26:52 +02:00
uri.cpp Adapt CMake project name to be coherent with nlohmann::json's naming 2019-12-05 11:12:23 +01:00