Conan 2.1 Documentationat all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake- package_folder, ˓→"licenses")) copy(self, pattern="*.h", src=os.path.join(self.source_folder, "include"), dst=os. ˓→path.join(self.package_folder, "include")) copy(self, pattern="*.a", src=self.build_folder, dst=os0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 2.5 Documentationdependencies (whenever possible) as shared libraries, we would use -o *:shared=True, with the * pattern that matches all package references. Let’s build the application again after configuring it to link at all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake-0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 2.4 Documentationdependencies (whenever possible) as shared libraries, we would use -o *:shared=True, with the * pattern that matches all package references. Let’s build the application again after configuring it to link at all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake-0 码力 | 769 页 | 4.69 MB | 1 年前3
Conan 2.0 Documentationat all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): del self.settings.compiler.cppstd also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake- package_folder, ˓→"licenses")) copy(self, pattern="*.h", src=os.path.join(self.source_folder, "include"), dst=os. ˓→path.join(self.package_folder, "include")) copy(self, pattern="*.a", src=self.build_folder, dst=os0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.3 Documentationat all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake- package_folder, ˓→"licenses")) copy(self, pattern="*.h", src=os.path.join(self.source_folder, "include"), dst=os. ˓→path.join(self.package_folder, "include")) copy(self, pattern="*.a", src=self.build_folder, dst=os0 码力 | 748 页 | 4.65 MB | 1 年前3
Conan 2.10 Documentationdependencies (whenever possible) as shared libraries, we would use -o *:shared=True, with the * pattern that matches all package references. Let’s build the application again after configuring it to link at all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake-0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.9 Documentationdependencies (whenever possible) as shared libraries, we would use -o *:shared=True, with the * pattern that matches all package references. Let’s build the application again after configuring it to link at all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake-0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.8 Documentationdependencies (whenever possible) as shared libraries, we would use -o *:shared=True, with the * pattern that matches all package references. Let’s build the application again after configuring it to link at all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake-0 码力 | 785 页 | 4.95 MB | 10 月前3
Conan 2.2 Documentationat all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake- package_folder, ˓→"licenses")) copy(self, pattern="*.h", src=os.path.join(self.source_folder, "include"), dst=os. ˓→path.join(self.package_folder, "include")) copy(self, pattern="*.a", src=self.build_folder, dst=os0 码力 | 718 页 | 4.46 MB | 1 年前3
Conan 2.6 Documentationdependencies (whenever possible) as shared libraries, we would use -o *:shared=True, with the * pattern that matches all package references. Let’s build the application again after configuring it to link at all. Then it does not make sense that they affect to the package ID computation, so a typical pattern is to delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler also packaging the LICENSE file from the library sources in the licenses folder. This is a common pattern in Conan packages and could also be added to the previous example using cmake.install() as the CMake-0 码力 | 777 页 | 4.91 MB | 10 月前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













