Commit graph

15 commits

Author SHA1 Message Date
Dennis Hezel
978f7a1c9c * Fix missing compile definition when installing the package with CPP_JWT_USE_VENDORED_NLOHMANN_JSON set to 'on'.
* Make installed package compatible with x86 even when it was build with x64.
* Exclude empty test/ directory and json/test_json.cc file from installation. * Mention that we are available on vcpkg in the README. * Fix compilation of examples on Windows.
* Add vcpkg.json file to make it easier for contributors to work on the project
* Bump version to 1.5.0
2021-10-16 11:44:01 +02:00
Carlos Gomes Martinho
af21c2e26f build: install cmakes find package files 2020-05-08 02:35:53 +02:00
Carlos Gomes Martinho
79d2c49b32
build: add add_library alias to cmake
this makes it possible to do:

```cmake
find_package(cpp-jwt REQUIRED)
add_executable(main main.cpp)
target_link_libraries(main cpp-jwt::cpp-jwt)
```
2020-03-18 19:48:52 +01:00
Carlos Gomes Martinho
f7ffc00a29 chore: use w4 for msvc 2020-02-24 14:58:03 +01:00
Carlos Gomes Martinho
9920f88379 chore: define vendor macro if needed 2020-02-24 13:33:43 +01:00
Carlos Gomes Martinho
d4b5525eb9 chore: use old lib variables for cmake 2020-02-24 13:16:44 +01:00
Carlos Gomes Martinho
564e9f8d23 build: add support for conan and make vendored json optional 2020-02-24 10:29:57 +01:00
Carlos Gomes Martinho
de69fd2133 build: improve cmake scripts 2020-02-24 09:21:52 +01:00
leoTlr
31df3b8bd4 compile with -Wextra 2019-04-04 00:24:25 +02:00
Huang-Ming Huang
0b68fd46fb Some cmake improvements 2019-02-11 14:10:38 -06:00
Arun M
55c36d4c30 Enable compiler warnings 2018-05-19 18:43:28 +05:30
Arun M
9487758b8c Compilation works with g++ 6.4 2018-01-03 10:59:35 +05:30
Arun M
6302055db1 Readme changes for example code and fixed header decoding 2017-12-29 16:26:37 +05:30
Arun M
4a4217a9f4 Cmake support added for tests. Complete.Huh. 2017-12-28 15:44:47 +05:30
Arun M
bd73699001 Added cmake support 2017-12-28 14:13:49 +05:30