Conan 1.53 Documentationheaders... from the right context (host vs build). To be prepared for Conan 2.0: • If you have cmake modules or cmake config files at the root of the package, it is strongly recommended to move them to a subfolder Migrating legacy cpp_info attributes to set_property() Migrating from .names, .filenams and .build_modules to set_property() is easy, but there are some details to take into account for properties like cmake_target_name components["mycomponent"].names["pkg_config"] = "mypkg-config-name" self.cpp_info.components["mycomponent"].build_modules.append(os.path.join("lib", (continues on next page) 2.1. Migrating the recipes 21 Conan Documentation0 码力 | 953 页 | 7.64 MB | 1 年前3
Conan 1.54 Documentationheaders... from the right context (host vs build). To be prepared for Conan 2.0: • If you have cmake modules or cmake config files at the root of the package, it is strongly recommended to move them to a subfolder Migrating legacy cpp_info attributes to set_property() Migrating from .names, .filenams and .build_modules to set_property() is easy, but there are some details to take into account for properties like cmake_target_name components["mycomponent"].names["pkg_config"] = "mypkg-config-name" self.cpp_info.components["mycomponent"].build_modules.append(os.path.join("lib", (continues on next page) 2.1. Migrating the recipes 21 Conan Documentation0 码力 | 953 页 | 7.65 MB | 1 年前3
Conan 1.55 Documentationheaders... from the right context (host vs build). To be prepared for Conan 2.0: • If you have cmake modules or cmake config files at the root of the package, it is strongly recommended to move them to a subfolder Migrating legacy cpp_info attributes to set_property() Migrating from .names, .filenams and .build_modules to set_property() is easy, but there are some details to take into account for properties like cmake_target_name components["mycomponent"].names["pkg_config"] = "mypkg-config-name" self.cpp_info.components["mycomponent"].build_modules.append(os.path.join("lib", (continues on next page) 2.1. Migrating the recipes 21 Conan Documentation0 码力 | 963 页 | 7.67 MB | 1 年前3
Conan 1.46 Documentationcache, and --update is not provided, it will fail with an error. This behavior can be change with core:allow_explicit_revision_update=True [conf] configuration. It is experimental and can result in later same dependency was possible because we used the information stored in the lockfile. Immutability A core concept of lockfiles is their immutability and the integrity of its data: Important: The information the only alternative to be both efficient and have a robust Continuous Integration of changes in our core “products” is to explictly define those “products”. In our case we will define that our products are0 码力 | 893 页 | 7.46 MB | 1 年前3
Conan 1.44 Documentationcache, and --update is not provided, it will fail with an error. This behavior can be change with core:allow_explicit_revision_update=True [conf] configuration. It is experimental and can result in later same dependency was possible because we used the information stored in the lockfile. Immutability A core concept of lockfiles is their immutability and the integrity of its data: Important: The information the only alternative to be both efficient and have a robust Continuous Integration of changes in our core “products” is to explictly define those “products”. In our case we will define that our products are0 码力 | 857 页 | 7.17 MB | 1 年前3
Conan 1.45 Documentationcache, and --update is not provided, it will fail with an error. This behavior can be change with core:allow_explicit_revision_update=True [conf] configuration. It is experimental and can result in later same dependency was possible because we used the information stored in the lockfile. Immutability A core concept of lockfiles is their immutability and the integrity of its data: Important: The information the only alternative to be both efficient and have a robust Continuous Integration of changes in our core “products” is to explictly define those “products”. In our case we will define that our products are0 码力 | 865 页 | 7.46 MB | 1 年前3
Conan 1.47 Documentationcache, and --update is not provided, it will fail with an error. This behavior can be change with core:allow_explicit_revision_update=True [conf] configuration. It is experimental and can result in later same dependency was possible because we used the information stored in the lockfile. Immutability A core concept of lockfiles is their immutability and the integrity of its data: Important: The information the only alternative to be both efficient and have a robust Continuous Integration of changes in our core “products” is to explictly define those “products”. In our case we will define that our products are0 码力 | 907 页 | 7.50 MB | 1 年前3
Conan 1.43 Documentationcache, and --update is not provided, it will fail with an error. This behavior can be change with core:allow_explicit_revision_update=True [conf] configuration. It is experimental and can result in later same dependency was possible because we used the information stored in the lockfile. Immutability A core concept of lockfiles is their immutability and the integrity of its data: Important: The information the only alternative to be both efficient and have a robust Continuous Integration of changes in our core “products” is to explictly define those “products”. In our case we will define that our products are0 码力 | 849 页 | 7.15 MB | 1 年前3
Conan 2.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657 9.2 Core guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . with either the include_prerelease option (requires = "pkg/[>1 <2, include_prerelease]"), or via the core.version_ranges:resolve_prereleases=True configuration. In this example, 1.0-pre.1 and 1.5.1-pre1 will by a few global.conf items: • core.sources:download_cache: Local path to store the sources backups to. If not set, the default Conan home cache path will be used. • core.sources:download_urls: Ordered0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 2.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617 9.2 Core guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . include_prerelease]"), or via 120 Chapter 4. Tutorial Conan Documentation, Release 2.0.17 the core.version_ranges:resolve_prereleases=True configuration. In this example, 1.0-pre.1 and 1.5.1-pre1 will by a few global.conf items: • core.sources:download_cache: Local path to store the sources backups to. If not set, the default Conan home cache path will be used. • core.sources:download_urls: Ordered0 码力 | 652 页 | 4.00 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













