Conan 1.52 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] _check_conan check_write_conan = _check_conan check_delete_conan = _check_conan check_read_package = _check_package check_write_package = _check_package check_delete_package = _check_package The module has to recipe. – check_write_conan() is used to decide whether to allow write access to a recipe. – check_delete_conan() is used to decide whether to allow a recipe’s deletion. – check_read_package() is used to0 码力 | 943 页 | 7.62 MB | 1 年前3
Conan 1.53 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] _check_conan check_write_conan = _check_conan check_delete_conan = _check_conan check_read_package = _check_package check_write_package = _check_package check_delete_package = _check_package The module has to recipe. – check_write_conan() is used to decide whether to allow write access to a recipe. – check_delete_conan() is used to decide whether to allow a recipe’s deletion. – check_read_package() is used to0 码力 | 953 页 | 7.64 MB | 1 年前3
Conan 1.46 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] the generated Conan traces file and a parameter --output to indicate the output file. You can also, delete the traces.log` file` otherwise while the CO- NAN_TRACE_FILE is present, any Conan command will keep config home $> /home/user/.conan • Create all missing configuration files: $ conan config init • Delete the existing configuration files and create all configuration files: $ conan config init --force0 码力 | 893 页 | 7.46 MB | 1 年前3
Conan 1.47 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] the generated Conan traces file and a parameter --output to indicate the output file. You can also, delete the traces.log` file` otherwise while the CO- NAN_TRACE_FILE is present, any Conan command will keep config home $> /home/user/.conan • Create all missing configuration files: $ conan config init • Delete the existing configuration files and create all configuration files: $ conan config init --force0 码力 | 907 页 | 7.50 MB | 1 年前3
Conan 1.48 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] the generated Conan traces file and a parameter --output to indicate the output file. You can also, delete the traces.log` file` otherwise while the CO- NAN_TRACE_FILE is present, any Conan command will keep config home $> /home/user/.conan • Create all missing configuration files: $ conan config init • Delete the existing configuration files and create all configuration files: $ conan config init --force0 码力 | 913 页 | 7.52 MB | 1 年前3
Conan 1.49 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] the generated Conan traces file and a parameter --output to indicate the output file. You can also, delete the traces.log` file` otherwise while the CO- NAN_TRACE_FILE is present, any Conan command will keep config home $> /home/user/.conan • Create all missing configuration files: $ conan config init • Delete the existing configuration files and create all configuration files: $ conan config init --force0 码力 | 915 页 | 7.53 MB | 1 年前3
Conan 1.50 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] the generated Conan traces file and a parameter --output to indicate the output file. You can also, delete the traces.log` file` otherwise while the CO- NAN_TRACE_FILE is present, any Conan command will keep config home $> /home/user/.conan • Create all missing configuration files: $ conan config init • Delete the existing configuration files and create all configuration files: $ conan config init --force0 码力 | 923 页 | 7.55 MB | 1 年前3
Conan 1.51 Documentationcompiler.runtime field will change based on the build_type value so in that case you will also want to delete the compiler runtime field like so: def package_id(self): if self.settings.os in ["Windows","WindowsStore"] the generated Conan traces file and a parameter --output to indicate the output file. You can also, delete the traces.log` file` otherwise while the CO- NAN_TRACE_FILE is present, any Conan command will keep config home $> /home/user/.conan • Create all missing configuration files: $ conan config init • Delete the existing configuration files and create all configuration files: $ conan config init --force0 码力 | 933 页 | 7.58 MB | 1 年前3
Conan 2.0 Documentationshared: # If os=Windows, fPIC will have been removed in config_options() # use rm_safe to avoid double delete errors self.options.rm_safe("fPIC") ... You can see that we added a configure() method to the recipe to configure which options or settings of the recipe are available. For example, in this case, we delete the fPIC option, because it should only be True if we are building the library as shared (in fact in the recipe which will raise an exception saying that the option does not exist. However, if we delete it in the configure() method we can pass the option but it will have no effect. For example, if you0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.1 Documentationshared: # If os=Windows, fPIC will have been removed in config_options() # use rm_safe to avoid double delete errors self.options.rm_safe("fPIC") ... You can see that we added a configure() method to the recipe to configure which options or settings of the recipe are available. For example, in this case, we delete the fPIC option, because it should only be True if we are building the library as shared (in fact in the recipe which will raise an exception saying that the option does not exist. However, if we delete it in the configure() method we can pass the option but it will have no effect. For example, if you0 码力 | 694 页 | 4.13 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













