Conan 1.3 Documentation
method can be overriden to control the package ID generation. Within the package_id() method we have access to the self.info object, which is the actual object being hashed for computing the binary ID: • • self.info.settings: Contains all the declared settings, always as string values. We can access/alter the settings. E.g: self.info.settings.compiler.version. • self.info.options: Contains all the declared file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 397 页 | 2.77 MB | 1 年前3Conan 1.7 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. Such features will be clearly documented in code and documentation. If and when we have access to the self.info object, which is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/modify the file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 433 页 | 2.95 MB | 1 年前3Conan 1.6 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. Such features will be clearly documented in code and documentation. If and when package_id() method can be overridden to control the package ID generation. Within the package_id() we have access to the self.info object, which is the one that is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/alter the settings. e.g: self.info.settings.compiler.version. • self.info.options: Contains all the declared0 码力 | 428 页 | 2.87 MB | 1 年前3Conan 1.4 Documentation
method can be overriden to control the package ID generation. Within the package_id() method we have access to the self.info object, which is the actual object being hashed for computing the binary ID: • • self.info.settings: Contains all the declared settings, always as string values. We can access/alter the settings. E.g: self.info.settings.compiler.version. • self.info.options: Contains all the declared file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 421 页 | 2.84 MB | 1 年前3Conan 1.5 Documentation
package_id() method can be overridden to control the package ID generation. Within the package_id() we have access to the self.info object, which is the one that is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/alter the settings. e.g: self.info.settings.compiler.version. • self.info.options: Contains all the declared file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 422 页 | 2.85 MB | 1 年前3Conan 1.8 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. This will be clearly described in code and documentation. If and when Conan 2.x we have access to the self.info object, which is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/modify the file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 458 页 | 3.03 MB | 1 年前3Conan 1.9 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. This will be clearly described in code and documentation. If and when Conan 2.x we have access to the self.info object, which is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/modify the file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 470 页 | 3.05 MB | 1 年前3Conan 1.11 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. This will be clearly described in code and documentation. If and when Conan 2.x we have access to the self.info object, which is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/modify the file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 490 页 | 4.05 MB | 1 年前3Conan 1.13 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. This will be clearly described in code and documentation. If and when Conan 2.x we have access to the self.info object, which is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/modify the file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 518 页 | 4.14 MB | 1 年前3Conan 1.14 Documentation
will be implemented and tested only in Python 3, and versions of Conan using Python 2 will not have access to that feature. This will be clearly described in code and documentation. If and when Conan 2.x we have access to the self.info object, which is hashed to compute the binary ID and contains: • self.info.settings: Contains all the declared settings, always as string values. We can access/modify the file of a binary package: $ conan get zlib/1.2.11@conan/stable -p 09512ff863f37e98ed748eadd9c6df3e4ea424a8 • Print the conanfile.py from a remote package: $ conan get zlib/1.2.8@conan/stable -r conan-center0 码力 | 528 页 | 4.17 MB | 1 年前3
共 247 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25