Tristan Penman
7b6d22f166
Update CMakeLists.txt to check for boost/json.hpp before building tests
2021-10-06 20:33:39 +11:00
Matt Young
f5cf601efa
Add Boost.JSON support
2021-09-10 08:55:03 +02:00
Ray Vincent
ef42dae296
Add support for urn document references
2021-08-23 15:45:49 -07:00
Tristan Penman
c5487c39eb
Update rapidjson to latest code from github
2021-07-29 07:31:00 +10:00
Tristan Penman
385d2d8306
Improve handling of compiler flags when exceptions are disabled
2021-07-28 21:05:26 +10:00
Tristan Penman
82e093fe18
Upgrade gtest to v1.11.0
2021-07-28 19:27:28 +10:00
Tristan Penman
6cc4cddc96
Suppress boost warnings that aren't relevant to the test suite
2021-05-24 10:00:16 +10:00
Tristan Penman
cb778b6bb6
Minor changes to address msvc warnings and make cmake work on Windows
2021-05-17 14:00:55 +10:00
Pascal Heinrich
8cc83c8be9
move curlpp findPackage in EXAMPLES block
2020-12-02 10:01:36 +01:00
Jordan Bayles
8f6f9b6a80
Use deprecated declarations
2020-11-08 17:18:14 -08:00
Jordan Bayles
a30ef97465
Add VALIJSON_USE_EXCEPTIONS mode
...
This patch adds support for a new Cmake option,
VALIJSON_USE_EXCEPTIONS. If specified and set to `0`, Valijson will
disable all exception throwing, add the `-fno-exceptions` compiler flag,
and print to std::err and abort where exceptions would have been thrown.
NOTE: to set the value of a CMake option, the easiest way is to modify
the appropriate source line in the <build folder>/CMakeCache.txt file.
Bug: #106
2020-11-08 16:58:32 -08:00
Jordan Bayles
88d9d890b5
Update JsonCpp to 1.9.4
...
This patch updates the JsonCpp third party dependency to the latest
version.
2020-11-05 17:11:35 -08:00
Arthur Farias
f60a30899b
Added interface target to CMakeLists.txt
2020-07-09 18:24:41 +02:00
Tristan Penman
73a8e440c0
More aggressive compiler warnings
2020-07-06 19:30:55 +10:00
Tristan Penman
e5c1cbfe88
Ensure tests are run for Poco, Qt and property_tree adapters
2020-07-06 12:37:05 +10:00
Tristan Penman
94cef2fa8d
Add example showing local file resolution
2020-06-26 20:05:26 +10:00
Tristan Penman
dbe09e0bab
Tidy up handling of optional dependencies
2019-08-27 12:19:27 +10:00
Tristan Penman
99810fa60e
Minor fixes for test suite build
2019-08-20 21:55:23 +10:00
Tristan Penman
1844241d2a
Make Boost a truly optional dependency
2019-08-20 11:18:58 +10:00
Tristan Penman
56fb36dff9
Improve optional example and test suite options in CMakeLists.txt
2019-08-20 11:11:42 +10:00
Tristan Penman
93c69a729f
Merge pull request #71 from cjkoenig/update_rapidjson
...
Update rapidjson to v1.1.0
2018-10-30 21:58:34 +11:00
Christoph König
12425ff0be
Update rapidjson to v1.1.0
2018-10-24 12:05:24 +02:00
Sebastian Stammler
61355b7d73
cmake: Add prefix to public options
2018-09-01 22:27:29 +02:00
Tristan Penman
a95be7a780
Upgrade bundled version of nlohmann json to v3.1.2
2018-08-01 14:39:43 +10:00
Tobias Kussel
7cbce6dca6
Inclusion of current's cmake module directory for nested projects
2018-05-30 10:43:44 +02:00
Kodekarl
7dbf0d862f
Use keyword NOT instead of !
...
Cmake does not understand '!'.
2017-12-19 23:49:37 +01:00
Tristan Penman
665741110c
Update embedded version of json11 so that tests can be built using clang 4+
2017-09-23 09:36:01 +10:00
Tristan Penman
cff81eb2ab
Add some example code that was prepared for a Melbourne C++ lightning talk
2017-07-10 12:58:46 +10:00
Tristan Penman
37173c0947
Clean up Travis CI build and add FindPoco cmake module from libsourcey project
2017-06-01 10:03:37 +10:00
Tristan Penman
2de198ea2e
Automated test support for Poco JSON adapter
2017-05-31 15:01:31 +10:00
plamot
2c0477c30a
qtjson utils and tests update
2017-03-27 01:20:24 +02:00
Pierre Lamot
b8b2634ad6
add support for Qt Json parser
...
http://doc.qt.io/qt-5/json.html
2017-03-06 16:38:02 +01:00
Tristan Penman
b484b41e3f
Remove support for non-C++11 builds from main CMakeLists file and update boost dependency
2016-08-15 22:32:47 -07:00
Tristan Penman
f01916571f
Fix build so that test_suite is always compiled and linked against embedded json11 and jsoncpp libraries
2016-08-15 22:32:47 -07:00
Tristan Penman
4a543d53e3
Build tests by default
2016-04-09 08:15:49 +10:00
Bimal Jacob
0c5de11cb2
CMake: Add conditional check for options
...
Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
2016-04-09 08:14:49 +10:00
Santosh Multhalli
0c645c53f3
Add options for Building Installing valijson headers and remove -Werror from CMAKE_CXX_FLAGS
2016-04-09 08:14:49 +10:00
James Jensen
8f446704f7
Add polymorphic constraint, and modifications neccessary for using them
...
Modify CMakeLists.txt to make third party include files be included by -isystem. This reduces external warnings/errors.
Add a unit test for the PolyConstraints. The test doesn't pass, because the right method for inserting a constraint isn't clear to me.
Add Authors file for tracking modifications
Add Akamai to the License file.
2016-04-06 16:20:39 -04:00
Tristan Penman
f2eed08cab
Add compiler flags for -Wall and -Werror to Xcode project files and CMake configuration
2016-02-02 15:06:17 -08:00
Tristan Penman
0d028fb188
Upgrade rapidjson from version 0.1 to version 1.0.2
2016-02-02 15:06:17 -08:00
Tengiz Sharafiev
d8e217cb60
Implement test for nlohmann/json adapter
2016-02-02 17:50:35 +03:00
Tengiz Sharafiev
5959c31172
Add nlohman/json library
...
https://github.com/nlohmann/json
2016-02-02 17:50:35 +03:00
hotwatermorning
94ea214bb0
Fix CMakeLists.txt to use json11 if compiler supports c++11.
2016-01-28 13:35:44 +09:00
hotwatermorning
57ed4783e3
Merge branch 'master' of https://github.com/tristanpenman/valijson
2016-01-28 13:18:54 +09:00
Tristan Penman
1a3a703298
Add flag to CMakeLists file to allow C++11 support to be enabled, with an appropriate preprocessor definition passed to the compiler
2016-01-27 09:52:12 -08:00
hotwatermorning
04dc77b87c
Support dropbox/json11.
2016-01-26 14:43:09 +09:00
Tristan Penman
592e6db083
Move functionality from Schema class to a new Subschema class (superclass for Schema), and remove dead code
2015-12-22 10:26:51 +11:00
Tristan Penman
4e941e75d9
Add debug flags to CMakeLists file
2015-10-23 11:37:38 +11:00
Tristan Penman
9216f5f6f1
Fix build issues and compiler warnings with MSVC 2013
2015-10-17 08:27:39 +11:00
Hiroyuki Kobayashi
24d993dcd2
Support picojson library
2015-05-09 00:41:44 +09:00