📝 add mkdocs

This commit is contained in:
Niels Lohmann 2020-05-24 13:03:04 +02:00
parent c92a696852
commit a8f0cd15df
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
36 changed files with 2656 additions and 261 deletions

View file

@ -0,0 +1,9 @@
project(json_example)
cmake_minimum_required(VERSION 2.8.12)
add_definitions("-std=c++11")
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_executable(json_example example.cpp)
target_link_libraries(json_example ${CONAN_LIBS})

View file

@ -0,0 +1,5 @@
[requires]
nlohmann_json/3.7.3
[generators]
cmake

View file

@ -0,0 +1,9 @@
#include <nlohmann/json.hpp>
#include <iostream>
using json = nlohmann::json;
int main()
{
std::cout << json::meta() << std::endl;
}