Conan 2.0 Documentation
shared: # 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 年前3Conan 2.1 Documentation
shared: # 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 年前3Conan 2.3 Documentation
shared: # 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 码力 | 748 页 | 4.65 MB | 1 年前3Conan 2.5 Documentation
shared: # 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 码力 | 769 页 | 4.70 MB | 1 年前3Conan 2.2 Documentation
shared: # 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 码力 | 718 页 | 4.46 MB | 1 年前3Conan 2.4 Documentation
shared: # 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 码力 | 769 页 | 4.69 MB | 1 年前3Conan 2.10 Documentation
shared: # 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 码力 | 803 页 | 5.02 MB | 10 月前3Conan 2.6 Documentation
shared: # 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 码力 | 777 页 | 4.91 MB | 10 月前3Conan 2.9 Documentation
shared: # 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 码力 | 795 页 | 4.99 MB | 10 月前3Conan 2.7 Documentation
shared: # 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 码力 | 779 页 | 4.93 MB | 10 月前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8