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

Version Path
couchbase-3.0.0-universal-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0 ext/third_party/json/conanfile.py
couchbase-3.0.0.beta.1-universal-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.beta.1 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.5-x86_64-linux ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.5-universal-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.5-x86_64-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.5 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.4 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.3 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/json/conanfile.py
couchbase-3.0.0.alpha.2 ext/third_party/json/conanfile.py