mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-10-14 08:54:22 -05:00
Bag of holding updates
This commit is contained in:
9
vendor/json/doc/mkdocs/docs/integration/conan/CMakeLists.txt
vendored
Normal file
9
vendor/json/doc/mkdocs/docs/integration/conan/CMakeLists.txt
vendored
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
vendor/json/doc/mkdocs/docs/integration/conan/Conanfile.txt
vendored
Normal file
5
vendor/json/doc/mkdocs/docs/integration/conan/Conanfile.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
[requires]
|
||||
nlohmann_json/3.7.3
|
||||
|
||||
[generators]
|
||||
cmake
|
9
vendor/json/doc/mkdocs/docs/integration/conan/example.cpp
vendored
Normal file
9
vendor/json/doc/mkdocs/docs/integration/conan/example.cpp
vendored
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