-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add cmake preset file for simpler build+test * save unchanged common.hpp - clang-format changes * attempt to separate write from read of mapt_t * use result of [[nodiscard]] function in test; avoid warning * gracefully fail testing variant to avoid subproc aborted * fix variant auto-deducible func w/ split maps * rm 'value_type' nested type alias requirement for ranges * refactor to_json(map) for in ranges + first el mistreatment * require 'range' concept to be input range * use free functions that are compat. w/ more types * create some tests for writing map-like ranges * add basic writing in input ranges as arrays * replace ranges::empty() w/ internal alternative for older compilers * disable tests w/ views when views unavailable * fix circular include * fix MSVC literal issue * use glz::sv instead of literal sv * attempt MSVC fix removing operator"" * serialize pair as object * correct expected json in write pair test * provide reading specialization for pair * uncomment "issue". UT can run, there's just no default printing for maps * test reading pairs * read binary pair specialization * refactor json tests to avoid expected. glz::expected subset of std::expected * provide deduction guides on test-case structs for apple-clang * classify pair_t as object when auto-deducing variant * document breaking std::pair change * Version 1.3.0 bump --------- Co-authored-by: Stephen Berry <stephenberry.developer@gmail.com>
- Loading branch information
1 parent
25e16c7
commit 1589d3c
Showing
16 changed files
with
476 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*build/ | ||
*build-*/ | ||
*bin/ | ||
.idea/ | ||
.vscode/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ include(cmake/prelude.cmake) | |
|
||
project( | ||
glaze | ||
VERSION 1.2.6 | ||
VERSION 1.3.0 | ||
LANGUAGES CXX | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version": 3, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 23, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "dev", | ||
"displayName": "Developer Mode", | ||
"description": "Builds Glaze w/ tests and downloaded test dependencies", | ||
"binaryDir": "${sourceDir}/build", | ||
"generator": "Ninja", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"glaze_DEVELOPER_MODE": true, | ||
"BUILD_TESTING": true | ||
} | ||
}, | ||
{ | ||
"name": "release", | ||
"displayName": "Release", | ||
"description": "Optimized library build of exclusively library", | ||
"binaryDir": "${sourceDir}/build-release", | ||
"generator": "Ninja", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"glaze_DEVELOPER_MODE": false, | ||
"BUILD_TESTING": false | ||
} | ||
} | ||
], | ||
"testPresets": [ | ||
{ | ||
"name": "all", | ||
"displayName": "Automated Tests", | ||
"configurePreset": "dev", | ||
"output": { | ||
"verbosity": "verbose", | ||
"outputOnFailure": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.