Commit Graph

70 Commits

Author SHA1 Message Date
Johannes Rave
dee2fa64ff Support for time related format fields 2022-07-18 16:57:44 +03:00
Tristan Penman
1ff3625482 Add script to bundle library into a single header 2022-04-09 13:46:54 +10:00
Pras Velagapudi
f03461bb01 Fixed issue with YAML::Node reference usage. 2022-02-13 05:25:31 -05:00
Pras Velagapudi
698936aee1 Added missing dep for YAML-cpp. 2022-02-11 19:17:07 -05:00
Pras Velagapudi
328db2f644 Initial pass at yaml-cpp support. 2022-02-11 19:13:43 -05:00
Tristan Penman
27d30658d2 Update vendored jsoncpp to version 1.9.5 2022-02-09 22:01:49 +11:00
Tristan Penman
c2822576a2 Update CMakeLists to use add_compile_definitions 2022-02-08 09:21:21 +11:00
Jon Petrissans
4622b958e4 Set valijson_BUILD_TESTS OFF by default in cmake
Avoids extra unnecessary dependencies by default.
2022-01-31 08:40:44 +01:00
Jon Petrissans
50010fd959 Make VALIJSON_USE_EXCEPTIONS interface definition 2022-01-31 08:40:44 +01:00
Jon Petrissans
c5dac2bc0b Install cmake export file 2022-01-31 08:40:44 +01:00
Jon Petrissans
c7d5f2cbec Remove valijson_INSTALL_HEADERS from cmake build
As the install is done separately from the build, no need to make header
installation optional.
2022-01-30 18:11:30 +01:00
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