 Conan 1.19 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 609 页 | 4.88 MB | 1 年前3 Conan 1.19 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 609 页 | 4.88 MB | 1 年前3
 Conan 1.20 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 611 页 | 4.89 MB | 1 年前3 Conan 1.20 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 611 页 | 4.89 MB | 1 年前3
 Conan 1.18 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 584 页 | 4.80 MB | 1 年前3 Conan 1.18 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 584 页 | 4.80 MB | 1 年前3
 Conan 1.16 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 545 页 | 4.34 MB | 1 年前3 Conan 1.16 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 545 页 | 4.34 MB | 1 年前3
 Conan 1.21 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 621 页 | 4.92 MB | 1 年前3 Conan 1.21 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 621 页 | 4.92 MB | 1 年前3
 Conan 1.22 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 629 页 | 4.98 MB | 1 年前3 Conan 1.22 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 629 页 | 4.98 MB | 1 年前3
 Conan 1.23 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 637 页 | 5.04 MB | 1 年前3 Conan 1.23 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 637 页 | 5.04 MB | 1 年前3
 Conan 1.24 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 647 页 | 5.31 MB | 1 年前3 Conan 1.24 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 647 页 | 5.31 MB | 1 年前3
 Conan 1.25 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 655 页 | 5.45 MB | 1 年前3 Conan 1.25 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 655 页 | 5.45 MB | 1 年前3
 Conan 1.26 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 669 页 | 5.51 MB | 1 年前3 Conan 1.26 DocumentationFor example, if you are sure your package ABI compatibility is fine for GCC versions > 4.5 and < 5.0, you could do the following: from conans import ConanFile, CMake, tools from conans.model.version version)) if self.settings.compiler == "gcc" and (v >= "4.5" and v < "5.0"): self.info.settings.compiler.version = "GCC version between 4.5 and 5.0" We have set the self.info.settings.compiler.version with an be any string). The only important thing is that it is the same for any GCC version between 4.5 and 5.0. For all those versions, the compiler version will always be hashed to the same ID. Let’s try and0 码力 | 669 页 | 5.51 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













