Conan 1.36 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"]0 码力 | 765 页 | 5.71 MB | 1 年前3
Conan 1.26 Documentation5.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"]0 码力 | 669 页 | 5.51 MB | 1 年前3
Conan 1.30 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other inside cpp_info like this: def package_info(self): self.cpp_info.name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" (continues on next page) 6.7. Define the package0 码力 | 715 页 | 5.39 MB | 1 年前3
Conan 1.31 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other inside cpp_info like this: def package_info(self): self.cpp_info.name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" (continues on next page) 6.7. Define the package0 码力 | 721 页 | 5.41 MB | 1 年前3
Conan 1.34 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"]0 码力 | 747 页 | 5.66 MB | 1 年前3
Conan 1.35 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"]0 码力 | 759 页 | 5.70 MB | 1 年前3
Conan 1.32 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other inside cpp_info like this: def package_info(self): self.cpp_info.name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" (continues on next page) 6.7. Define the package0 码力 | 731 页 | 5.44 MB | 1 年前3
Conan 1.33 Documentation6.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other inside cpp_info like this: def package_info(self): self.cpp_info.name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" (continues on next page) 6.7. Define the package0 码力 | 739 页 | 5.47 MB | 1 年前3
Conan 1.25 Documentation5.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"]0 码力 | 655 页 | 5.45 MB | 1 年前3
Conan 1.29 Documentation5.7.1 Using Components If your package contains more than one library or you want to define separated components so consumers can have more granular information, you can use components in your package_info() same package depend on each other and modelling the relationship among them is required. With components, you can model libraries and executables inside the same package and how one depends on the other inside cpp_info like this: def package_info(self): self.cpp_info.name = "OpenSSL" self.cpp_info.components["crypto"].names["cmake_find_package"] = "Crypto" (continues on next page) 5.7. Define the package0 码力 | 703 页 | 5.41 MB | 1 年前3
共 150 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15













