Sha256: 1ff5ce01e1a127a61ae4cec67e2af3cf2c9e61e6e9cee30f9b08bdf1986e8b31
Contents?: true
Size: 793 Bytes
Versions: 24
Compression:
Stored size: 793 Bytes
Contents
#!/usr/bin/env python # -*- coding: utf-8 -*- from conans import ConanFile, CMake class JSONConan(ConanFile): name = "json" description = "C++17 header-only JSON library " homepage = "https://github.com/taocpp/json" url = homepage license = "MIT" author = "taocpp@icemx.net" exports = "LICENSE" exports_sources = "include/*", "CMakeLists.txt" no_copy_source = True def build(self): pass def package(self): cmake = CMake(self) cmake.definitions["TAOCPP_JSON_BUILD_TESTS"] = False cmake.definitions["TAOCPP_JSON_BUILD_EXAMPLES"] = False cmake.definitions["TAOCPP_JSON_INSTALL_DOC_DIR"] = "licenses" cmake.configure() cmake.install() def package_id(self): self.info.header_only()
Version data entries
24 entries across 24 versions & 1 rubygems