2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-24 18:02:22 +00:00

64 Commits

Author SHA1 Message Date
Nigel Stewart
9dd59bcbb7 CMake builds are fixed to actually support version 3.8 2025-09-11 16:26:40 +03:00
Dmitry Arkhipov
6e3ae77d63 add gdb pretty printers 2024-09-09 21:10:41 +03:00
Dmitry Arkhipov
0b410ea466 don't build tests in CMake by default 2024-05-17 18:36:57 +03:00
Dmitry Arkhipov
1eb855b470 fix build as CMake subdirectory
Also add tests for different CMake use cases
2024-01-01 23:49:29 +03:00
Dmitry Arkhipov
3d17afc229 increase testing of CMake build files 2023-10-26 09:14:52 +03:00
Dmitry Arkhipov
a0fbf1d906 fix msvc build of tests 2023-10-25 11:29:13 +03:00
Dmitry Arkhipov
07efc5e83b better document building without exceptions
Also, a test for building without exceptions.
2023-10-06 22:56:17 +03:00
Vinnie Falco
466202d3aa rename external macro test CMake target 2023-02-03 13:58:17 +03:00
Dmitry Arkhipov
6af3a5e05c guard std::min from windows.h 2022-12-19 22:58:47 +03:00
Dmitry Arkhipov
aaa16ed8cc fix name in copyright attribution 2022-10-27 18:08:45 +03:00
Dmitry Arkhipov
d20a814685 Remove standalone 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
54397e6605 Fix standalone build in CI 2021-10-22 14:47:58 +03:00
Dmitry Arkhipov
31dd295232 Allow external libraries to forward declare value_to/from 2021-10-20 22:35:21 +03:00
Dmitry Arkhipov
745be88916 Refactor CMakeLists
* Overhaul of dealing with CMake use cases
* Put target property setup into a function
* Fix test standalone_with_boost for CMake
* Other minor fixes/edits
2021-06-28 10:12:04 +03:00
Dmitry Arkhipov
7c482b5ee0 Depend on Mp11 2021-05-04 16:59:29 +03:00
Dmitry Arkhipov
de6e72d5c0 Prefix tests in CMake with boost_json 2021-04-26 00:43:19 +03:00
Dmitry Arkhipov
2e876dd250 Add BOOST_JSON_SOURCE_POS
Replaced usage of BOOST_CURRENT_LOCATION with BOOST_JSON_SOURCE_POS.
Using BOOST_CURRENT_LOCATION results in warnings (and could probably
lead to ODR violations) when Json is used standalone, but alongside
Boost.
2021-01-26 20:54:18 +03:00
Vinnie Falco
f2efd9b66a Tidy up CMakeLists.txt for superproject 2020-10-04 17:33:43 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
50b5c52b32 Refactor array 2020-09-20 13:00:08 -07:00
Alexej Harm
e8ba396d5d fix limits test on compilers that default to C++98 2020-09-12 16:16:50 -07:00
Vinnie Falco
a182f1fe06 The header-only macro is no longer needed
fix #260
2020-09-06 14:39:17 -07:00
Vinnie Falco
8893e108e3 max_size for array and object is equal
close #167
2020-08-18 13:46:21 -07:00
Krystian Stasiowski
904252de0b Fix repo links
close #123
2020-07-03 11:51:58 -07:00
Vinnie Falco
4a6a6e7cc3 Parser limits are error codes
fix #65
2020-05-03 12:33:50 -07:00
Alexej Harm
e74f9bf6f1 Enable cmake install:
When building outside of boost, boost_json now supports the install option of cmake.
This patch produces a full, correct install which obeys CMAKE_INSTALL_PREFIX and
creates the correct config.cmake files in order to construct the target Boost::json
This config will automatically find Boost::system using the standard cmake find_package
command
2020-04-30 06:52:50 -07:00
Vinnie Falco
38d5372465 Travis tests cmake 2020-03-29 18:46:03 -07:00
Vinnie Falco
fa595abf36 limits is a separate build target 2020-03-25 14:19:21 -07:00
Mateusz Łoskot
0252c6f3e9 Use explicit NAME and COMMAND arguments of add_test 2020-03-14 13:33:17 -07:00
Alexej Harm
bc95b55c35 Refactor CMake support:
* Add VS CMake integration config
* add cmake 3.10.0 support
* fix compiler and linker flags
* disable verbose build output
* added cmake policy
* Fix source groups
* Group folder related settings
* Add support for the boost superproject and cmake 3.16
* Remove library headers from executable projects
* Fix boost superproject compatibility
2019-12-29 10:49:25 -08:00
Vinnie Falco
94647c341d Refactor value conversions 2019-12-15 04:24:54 -08:00
Vinnie Falco
07246e2909 Add standalone test_suite 2019-12-11 18:34:39 -08:00
Vinnie Falco
3844c0eb09 Add value_ref for initializer lists 2019-12-09 20:08:40 -08:00
Vinnie Falco
4a149d4cc2 Add number_cast:
close #17

number_cast<> provides a simple way to cast a value to a number.
2019-12-03 20:05:38 -08:00
Vinnie Falco
ef48831ab3 Doc work 2019-11-30 10:54:24 -08:00
Vinnie Falco
da35265ecd Add doc snippets 2019-11-22 18:32:50 -08:00
Vinnie Falco
a04c0a11de Bench work 2019-11-20 08:53:39 -08:00
Vinnie Falco
b75d1f35fb Rename to pool 2019-11-19 06:03:15 -08:00
Vinnie Falco
83778c5005 doc work 2019-11-14 15:56:03 -08:00
Vinnie Falco
9da2877b28 limits tests 2019-11-12 06:22:46 -08:00
Vinnie Falco
68f3df0403 Tidy 2019-11-11 19:21:48 -08:00
Vinnie Falco
fb9479d0b5 parser tests and fixes 2019-11-11 07:09:49 -08:00
Vinnie Falco
297f32daa6 Object coverage 2019-11-09 09:25:34 -08:00
Vinnie Falco
b4d46f6c68 Tidy up ryu 2019-11-01 06:42:01 -07:00
Vinnie Falco
4680e0106c Refactor numbers 2019-10-31 18:26:16 -07:00
Vinnie Falco
96c4b77d86 Refactor storage 2019-10-30 17:40:49 -07:00
Vinnie Falco
0c5711420b More optimizations 2019-10-30 08:33:22 -07:00
Vinnie Falco
96ecab8cc8 scoped storage 2019-10-28 07:56:57 -07:00
Vinnie Falco
c99bec33ec Add block_storage default storage 2019-10-27 15:31:17 -07:00
Vinnie Falco
dd8dd9929f serializer work 2019-10-26 06:31:07 -07:00