Home
last modified time | relevance | path

Searched refs:self (Results 1 – 2 of 2) sorted by relevance

/nanopb-2.7.6/generator/
Dnanopb_generator.py88 def __enter__(self): argument
89 self.dir = tempfile.mkdtemp()
90 return self.dir
92 def __exit__(self, *args): argument
93 shutil.rmtree(self.dir)
164 def __init__(self, parts = ()): argument
169 self.parts = tuple(parts)
171 def __str__(self): argument
172 return '_'.join(self.parts)
174 def __add__(self, other): argument
[all …]
/nanopb-2.7.6/
Dconanfile.py20 def configure(self): argument
21 if self.settings.os_build == "Windows" and self.settings.compiler == "Visual Studio":
22 del self.options.fPIC
24 def build(self): argument
25 cmake = CMake(self)
26 cmake.configure(source_folder=path.join(self.source_folder, "conan-wrapper"))
30 def package_info(self): argument
31 self.cpp_info.includedirs = ["include"]
32 self.cpp_info.libdirs = ["lib"]
33 self.cpp_info.libs = ["protobuf-nanopb"]