Niels Lohmann
46a243bbd7
⏪ remove Dart
2021-01-26 12:59:09 +01:00
Niels Lohmann
40a6532da2
🔧 add target for Valgrind
2021-01-25 22:17:11 +01:00
Niels Lohmann
2efc29540e
🔧 adjust flags for GCC 11.0.0 20210110 (experimental)
2021-01-23 21:25:41 +01:00
Niels Lohmann
395788c311
🔨 fix dependency
2021-01-23 17:04:17 +01:00
Niels Lohmann
05e2cd4e1e
🐧 add target to download a Linux version of CMake
2021-01-23 14:22:12 +01:00
Niels Lohmann
08d51c0cf6
⚗️ add clang analyze target
2021-01-17 20:36:53 +01:00
Niels Lohmann
bac98447ec
⚗️ try to install Clang 11
2021-01-17 15:12:49 +01:00
Niels Lohmann
bd859960f4
👷 use GitHub Actions
2021-01-17 14:41:06 +01:00
Niels Lohmann
4a56f12cf4
👷 use GitHub Actions
2021-01-17 14:37:38 +01:00
Niels Lohmann
dc0a921a47
♻️ add target for CMake flags
2021-01-03 21:58:30 +01:00
Niels Lohmann
93fad232c5
♻️ add target for benchmarks
2021-01-03 20:44:22 +01:00
Niels Lohmann
a6b82cd50b
♻️ use iwyu properly
2021-01-01 13:08:58 +01:00
Niels Lohmann
45ec48b2a1
♻️ use iwyu properly
2020-12-30 14:20:00 +01:00
Niels Lohmann
0bee42026f
♻️ rename targets
2020-12-30 13:36:19 +01:00
Niels Lohmann
77f24509d4
🚨 fix warnings
2020-12-30 13:27:29 +01:00
Niels Lohmann
9427318440
♻️ add target for oclint
2020-12-27 15:47:30 +01:00
Niels Lohmann
4c6cda363b
🔊 add version output
2020-12-27 14:09:20 +01:00
Niels Lohmann
6f7ffa53d4
♻️ add targets for iwyu and infer
2020-12-26 22:37:29 +01:00
Niels Lohmann
d9941bdaee
♻️ add target for self-contained binaries
2020-12-26 17:55:24 +01:00
Niels Lohmann
5276ab9c44
♻️ add target for cpplint
2020-12-26 15:09:50 +01:00
Niels Lohmann
8d8c9b9659
⚗️ move CI targets to CMake
2020-12-26 14:32:01 +01:00
Jun Jie
41a99567e0
fix cmake script overwriting compiler path
...
This fixes #2343
2020-08-07 16:08:02 +08:00
Niels Lohmann
cbafed3494
⬇️ require CMake 3.1
2020-07-10 12:53:48 +02:00
Palmer Dabbelt
c7d18c1625
cmake: Generate and install a pkg-config file.
...
The meson builds install a pkg-config file, but the cmake builds don't.
This adds a pkg-config file to the cmake builds that is functionally
equivalent to the one generated from meson.
2020-07-09 03:59:53 -03:00
Niels Lohmann
e4675887a6
Merge branch 'develop' of https://github.com/nlohmann/json into issue2189
2020-06-20 09:47:12 +02:00
Niels Lohmann
cd115cbc33
✅ update test suite
2020-06-18 12:50:32 +02:00
Niels Lohmann
4d96f4cf6a
🔧 overwork CMake files
2020-06-16 20:23:01 +02:00
Niels Lohmann
f4c4bab600
✨ add option JSON_TestDataDirectory to set path with test data #2189
2020-06-16 12:55:36 +02:00
Niels Lohmann
ad32f576bd
Merge branch 'develop' of https://github.com/nlohmann/json into release_cleanup
2020-05-16 13:22:23 +02:00
Niels Lohmann
fc267af909
📝 update CI list
2020-05-14 17:53:00 +02:00
Niels Lohmann
f4cc729054
🔊 add compiler version output
2020-05-14 13:37:59 +02:00
Niels Lohmann
e91236e6d3
🔊 add compiler version output
2020-05-14 13:33:10 +02:00
chenguoping
8f5b5c7469
use json_test_data version 2.0.0
2020-05-14 15:11:38 +08:00
Niels Lohmann
f6f350a5c7
🔊 add operating system output
2020-05-13 14:25:51 +02:00
Niels Lohmann
5bfb27c865
🚨 fix some warnings
2020-05-08 12:32:28 +02:00
Niels Lohmann
2304629a3f
📌 use JSON test data v1.0.0
2020-05-04 16:00:00 +02:00
Niels Lohmann
bec554936c
🔨 fix paths
2020-05-02 10:56:01 +02:00
Niels Lohmann
cfb2f34ebb
🔨 fix benchmarks
2020-05-01 20:59:47 +02:00
Hubert Chathi
2b0e4c7a94
add comments
2020-04-17 15:44:12 -04:00
Hubert Chathi
cade804c1a
make CMake's version config file architecture-independent
2019-09-10 23:41:38 -04:00
Chuck Atkins
1729db85c1
cmake: fix package config to deal with versioning and namespaces
2018-09-30 09:56:33 -04:00
Chuck Atkins
3b1a5cafad
Use a version check to provide backwards comatible imported target names.
2018-09-18 13:59:19 -04:00
Chuck Atkins
33a2154f8d
Enable target namespaces and build dir project config
...
CMake convention is to use a project namespace, i.e. Foo::, for imported
targets. When multiple targets are imported from a project, this looks
like Foo::Bar1 Foo::Bar2, etc. This adds the nlohmann_json:: namespace to
the exported target names.
This also allows the generated project config files to be used from the
build directory instead of just the install directory.
2018-04-10 09:08:38 -04:00
Niels Lohmann
99ee4c1eaf
🔨 cleaned up Makefiles and docs #698
2017-10-04 19:27:35 +02:00
dan-42
f434942371
REFACTOR: rewrite CMakeLists.txt for better inlcude and reuse
...
The rewrite uses more cmake build-in automatisms and build-in generates
variables to allow better generic reuse.
* cmake files are installed to
``` <install_prefix>/lib/cmake/nlohmann_json/ ``` for best support on
most systems
* include path is set to ``` include ``` for usage as ``` #include
<nlohmann/json.hpp> ```
2017-07-29 11:59:09 +02:00
Tushar Maheshwari
85ce4d7b53
⚡ cmake compile time reduce using cotire
...
- Add prefix header
- Include catch.hpp
- Include json.hpp
- Replace private with public for all json_unit files
- Move `unit.cpp` to an object library
- cotire issue: strip whitespace from CMAKE_INCLUDE_SYSTEM_FLAG_CXX
2017-02-19 13:35:54 +05:30
Christoph Jud
e1b6a23049
relocation of install-include directory for other packages
2016-09-26 12:15:03 +02:00
Robert Marki
b1a2e9a715
Create an install target for the project
...
- define the project's version in the cmake listfile
- create a config and config version file for the cmake package
- install the json.hpp file and the package's targets, config and
config version files
2016-04-25 10:27:19 +02:00