Skip to content

Example on how to use nlohmann_json with conda

License

Notifications You must be signed in to change notification settings

tadeu/hello_json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Status

This is a simple example on how to build a program that uses nlohmann_json using the conda package manager.

It tests the following steps:

# Creates a conda environment that contains only nlohmann_json and CMake
conda create -c conda-forge -n hello_json "nlohmann_json>=3.5.0" "cmake>=3.10" --no-default-packages

# Activates this environment (puts things on PATH and configure environment variables that may be needed)
source activate hello_json

# Builds the code using CMake
mkdir -p build && cd build
cmake .. -G "Unix Makefiles"
cmake --build . --config Release

About

Example on how to use nlohmann_json with conda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published