Conan 2.1 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 2.3 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 748 页 | 4.65 MB | 1 年前3
Conan 2.5 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 2.4 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 769 页 | 4.69 MB | 1 年前3
Conan 2.0 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 config_options(self): if self.settings.os == "Windows": self.options.rm_safe("fPIC") def configure(self): if self.options.shared: self.options.rm_safe("fPIC") def requirements(self): self.requires("protobuf/30 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.2 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 718 页 | 4.46 MB | 1 年前3
Conan 2.10 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.6 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 777 页 | 4.91 MB | 10 月前3
Conan 2.9 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.7 Documentationthat if the compiler is msvc the # CMake generator is multi-config multi = True if self.settings.get_safe("compiler") == "msvc" else False if multi: self.folders.generators = os.path.join("build", "generators") 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 delete them in the configure() method: def configure(self): self.settings.rm_safe("compiler.cppstd") self.settings.rm_safe("compiler.libcxx") Please, note that deleting these settings in the configure()0 码力 | 779 页 | 4.93 MB | 10 月前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













