Patrick Boettcher
20138c186c
find_path does not work when cross-compiling
2021-02-03 11:38:03 +01:00
Bryan Gillespie
e3d42e65c2
Add CMake options to disable extras and support install
...
Description:
- Adds support for the following CMake options:
- BUILD_TESTS (default: ON)
- BUILD_EXAMPLES (default: ON)
- CMAKE_INSTALL_PREFIX (both static and shared)
2018-05-12 11:22:15 +02:00
Patrick Boettcher
c552c7c02a
tests: add some issue-regression-tests
2018-03-30 12:26:52 +02:00
Patrick Boettcher
2a1f77d084
cmake: allow the building of shared or static libraries
...
Alternative for #15
2018-02-27 11:19:06 +01:00
Patrick Boettcher
6f69d01b58
use #include <nlohmann/json.hpp> to avoid filename clashes
...
alternative for #20
2018-02-27 11:11:55 +01:00
Patrick Boettcher
990855cded
cmake: make NLOHMANN_JSON_DIR a cache-variable for visibility
2018-01-19 09:39:33 +01:00
Patrick Boettcher
b1b5cb891c
comment: fix comment regarding gcc 4.8/4.9
2018-01-19 09:39:07 +01:00
Patrick Boettcher
322d2751de
cmake: better handling of how to find json.hpp
2017-08-08 15:36:59 +02:00
Gert Van Hoey
42b32c500c
Build as shared library on Windows using Visual Studio compiler ( #10 )
...
* Build on Windows using Visual Studio and export symbols from DLL
* Fix two warnings on raised by Visual Studio 2015 compiler + disable -Wall and -Wextra when using Visual Studio compiler
* Fix indentation (TAB instead of spaces)
2017-08-07 13:35:35 +02:00
Antoine Havron
0de3d164d7
C++11 argument added in CmakeLists.txt
2017-04-11 08:16:30 +02:00
Patrick Boettcher
e327885992
cmake: if GCC-version is less than 4.9 print a status not a warning
2017-03-08 22:46:48 +01:00
Patrick Boettcher
dd2d95cf0a
gcc-4.8: if less than 4.9 use boost::regex, if detected
2017-03-06 10:44:20 +01:00
Patrick Boettcher
3de9c6c0b7
cmake: build a shared library
2017-02-18 13:04:29 +01:00
Patrick Boettcher
a013354bc6
cmake: only install json-schema.hpp if not a subdir
...
(install rule needs more work, however)
2017-02-18 08:15:43 +01:00
Patrick Boettcher
93a0463bf5
tests: seperate optional and non-optional tests and define overridable name-prefix
2016-12-28 13:41:11 +01:00
Patrick Boettcher
b2240084fe
validator: rework everything to handle local and remote refs
...
Added json-uri and json-pointer-classes and a schema-preparation-pass.
2016-12-26 23:48:57 +01:00
Patrick Boettcher
e0a69cff39
cmake: allow this project to be used as a cmake-subdirectory
...
Needs to have a json-hpp-target-available.
2016-12-23 09:52:17 +01:00
Patrick Boettcher
94b7e44dfa
cmake: add install-target
2016-12-23 09:51:41 +01:00
Patrick Boettcher
bf4cef21c3
initial commit
2016-12-23 00:04:42 +01:00