mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
Deployed fe4b663
with MkDocs version: 1.4.2
This commit is contained in:
49
integration/cmake/index.html
Normal file
49
integration/cmake/index.html
Normal file
File diff suppressed because one or more lines are too long
9
integration/conan/CMakeLists.txt
Normal file
9
integration/conan/CMakeLists.txt
Normal 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})
|
5
integration/conan/Conanfile.txt
Normal file
5
integration/conan/Conanfile.txt
Normal file
@ -0,0 +1,5 @@
|
||||
[requires]
|
||||
nlohmann_json/3.7.3
|
||||
|
||||
[generators]
|
||||
cmake
|
9
integration/conan/example.cpp
Normal file
9
integration/conan/example.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <iostream>
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << json::meta() << std::endl;
|
||||
}
|
10
integration/example.cpp
Normal file
10
integration/example.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << std::setw(4) << json::meta() << std::endl;
|
||||
}
|
5
integration/index.html
Normal file
5
integration/index.html
Normal file
File diff suppressed because one or more lines are too long
57
integration/migration_guide/index.html
Normal file
57
integration/migration_guide/index.html
Normal file
File diff suppressed because one or more lines are too long
96
integration/package_managers/index.html
Normal file
96
integration/package_managers/index.html
Normal file
File diff suppressed because one or more lines are too long
3
integration/pkg-config/index.html
Normal file
3
integration/pkg-config/index.html
Normal file
File diff suppressed because one or more lines are too long
7
integration/vcpkg/CMakeLists.txt
Normal file
7
integration/vcpkg/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
project(json_example)
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
find_package(nlohmann_json CONFIG REQUIRED)
|
||||
|
||||
add_executable(json_example example.cpp)
|
||||
target_link_libraries(json_example PRIVATE nlohmann_json::nlohmann_json)
|
9
integration/vcpkg/example.cpp
Normal file
9
integration/vcpkg/example.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <iostream>
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << json::meta() << std::endl;
|
||||
}
|
Reference in New Issue
Block a user