Conan 2.10 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 8.2 conanfile.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate any by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command. This functionality0 码力 | 803 页 | 5.02 MB | 11 月前3
Conan 2.9 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 8.2 conanfile.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate any by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command. This functionality0 码力 | 795 页 | 4.99 MB | 11 月前3
Conan 2.8 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 8.2 conanfile.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate any by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command. This functionality0 码力 | 785 页 | 4.95 MB | 11 月前3
Conan 2.7 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 8.2 conanfile.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate any by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command. This functionality0 码力 | 779 页 | 4.93 MB | 11 月前3
Conan 2.6 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 8.2 conanfile.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate any by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command. This functionality0 码力 | 777 页 | 4.91 MB | 11 月前3
Common Package Specification (CPS) in Practice: A Full Round Trip Implementation in Conan C++ Package Manager@staticmethod def from_conan(dep): """ Computes CPS from conanfile.py info """ 17Conan “conanfile.py” recipes conanfile.py class ZLibConan(ConanFile): name = "zlib" version = "1.2.13" package_info(self): self.cpp_info.libs = ["zlib"] # not real!! 18Conan “conanfile.py” recipes conanfile.py class ZLibConan(ConanFile): … def build(self): ... def package(self): _name", "ZLIB") self.cpp_info.set_property("cmake_target_name", "ZLIB::ZLIB") conanfile.py (openssl) conanfile.py (zlib)Demo!From CPS (Conan) to build systems Recap 52 |--include | zlib.h |--lib0 码力 | 66 页 | 1.76 MB | 6 月前3
共 6 条
- 1













