aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/conanfile-probe/testlib/conanfile.py
blob: 983c225998b3568b8ce1b233593d2ae1a94c35e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from conans import ConanFile

class Testlib(ConanFile):
    name = "testlib"
    description = "Represents an arbitrary package, for instance on bintray"
    license = "none"
    version = "1.2.3"

    settings = "os"
    options = {"opt": [True, False]}
    default_options = {"opt": False}

    def source(self):
        pass

    def build(self):
        pass

    def package(self):
        pass

    def package_info(self):
        self.cpp_info.libs = ["testlib1","testlib2"]
        self.env_info.ENV_VAR = "TESTLIB_ENV_VAL"
        self.user_info.user_var = "testlib_user_val"