Conan 2.0 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 652 页 | 4.00 MB | 1 年前3Conan 2.5 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 769 页 | 4.70 MB | 1 年前3Conan 2.4 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 769 页 | 4.69 MB | 1 年前3Conan 2.1 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include but exclude 2.1, 2.7, 2.8. 4.5. Versioning 123 Conan Documentation, Release 2.1.0 The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 694 页 | 4.13 MB | 1 年前3Conan 2.10 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 803 页 | 5.02 MB | 10 月前3Conan 2.6 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 777 页 | 4.91 MB | 10 月前3Conan 2.9 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 795 页 | 4.99 MB | 10 月前3Conan 2.7 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 779 页 | 4.93 MB | 10 月前3Conan 2.8 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 785 页 | 4.95 MB | 10 月前3Conan 2.3 Documentation
include versions like 1.0, 1.2.3 and 1.9, but will not include 0.3, 2.0 or 2.1 versions. The tilde ~ operator can be used to define an “approximately” equal version range. requires = "pkg/[~1]" will include Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to the tilde, but allowing variability over the last defined digit. requires = "pkg/[^1 51, but will exclude 1.0, 2, 2.0. It is also possible to apply multiple conditions with the OR operator, like requires = "pkg/[>1 <2.0 || ^3.2]" but this kind of complex expressions is not recommended0 码力 | 748 页 | 4.65 MB | 1 年前3
共 43 条
- 1
- 2
- 3
- 4
- 5