Commit Graph

22 Commits

Author SHA1 Message Date
Chris Mc
ca110ade5b 🔧 Improved CMake options and macros to prevent collisions (#109)
* exclude any folder prefixed with build

* seeing how far generator expresstion will go

* refactor cmake + outline some tests

* adding missing install destiniation

* rolling back some changes since the workflow was no support by CMake

* adding missing include

* fixing old variable names being used

* using target_compile_definitions instead of options

* correct options for CI + reporting errors for consumer

* using sudo to install

* fix bad variable

* trying CMAKE_PREFIX_PATH

* removing recursive call

* remove options from generators + dedicated exports target

* remove pthread link lib (unused)

* install targets files + include

* add missing main

* remove install prefix

* revive CMAKE_PREFIX_PATH it's really needed

* fix collision on DISABLE_BASE64 + more cmake tests

* bump cmake version + test minimum

* fix job names

* fix bad replace

* fix bad permissions

* fix install of picojson

* adding missing ifndef and overload for pico and no base64

* linting

* test for version

* trying to find version

* [test] remove semver prerelase from CMake

* fixing some documentation issues

* limit cmake test to only related files

* touch up docs

* making sure new helper supports no base64 mode

* some doc fixes

* Update cmake.yml

* Update .github/workflows/cmake.yml

* Update .gitignore
2020-11-29 15:56:53 +01:00
Chris Mc
149af7a2c5 Test token expiration handling with nlohmann/json traits (#104)
Correctly handle unsigned integers provided by nlohmann/json.
closes 103

Co-authored-by: Dominik Thalhammer <dominik@thalhammer.it>
2020-10-26 08:52:38 +01:00
Chris Mc
8eaf1a8a37 Correcting spelling
Of nlohmamm, some sloppy copy paste
2020-06-26 16:24:43 -04:00
Dominik Thalhammer
2d362fddbe Move json types into json trait 2020-06-26 14:40:49 +02:00
Christopher McArthur
10361407f8 adding option to remove picojson dep 2020-06-10 20:38:22 -04:00
Chris Mc
cdbc1168d7 removing as_set from traits 2020-05-31 10:16:32 -04:00
Chris Mc
739b7cdb90 improver traits + consistent order for tpl params 2020-05-30 23:32:46 -04:00
Chris Mc
5d3624b8bb removing attempt at support for wide strings 2020-05-30 17:28:03 -04:00
Chris Mc
ddf09881e7 nholmann json dump does not support wchar_t =? 2020-05-30 13:54:48 -04:00
Chris Mc
ceb6e176eb trying to support a std::wstring bacis_claim 2020-05-30 10:43:15 -04:00
Christopher McArthur
76aac93d4d [skip ci] adding std::wstring test 2020-05-28 23:14:29 -04:00
Christopher McArthur
089d9011f6 adding the rest of that static assert for functions 2020-05-26 08:21:51 -04:00
Christopher McArthur
9afe25a364 revert test 2020-05-25 22:44:30 -04:00
Christopher McArthur
bcd7e3f99c [skip ci] attempt at is_basic_claim check 2020-05-25 22:25:57 -04:00
Christopher McArthur
e1d2f58a00 adding serialize trait 2020-05-24 08:47:54 -04:00
Christopher McArthur
474a870889 adding verification test 2020-05-20 21:24:46 -04:00
Christopher McArthur
cb9165b3ba using operator<< instead of function call 2020-05-20 21:04:56 -04:00
Christopher McArthur
8ec4bfb836 removing duplication 2020-05-20 15:06:41 -04:00
Christopher McArthur
44592aeb5a testing nholmann json array 2020-05-20 14:39:13 -04:00
Christopher McArthur
f45db90c43 fixing error is nholmann traits 2020-05-20 14:36:50 -04:00
Christopher McArthur
767c3fc827 [skip ci] more progress 2020-05-20 14:23:28 -04:00
Christopher McArthur
45ccd617ad rough nholmann/json traits 2020-05-19 21:34:40 -04:00