Conan 1.46 Documentationclass ConsumerConan(ConanFile): python_requires = "/ @ / " # To use functions and␣ ˓→variables from the exported conanfile.py python_requires_extend = " . functions to retrieve the proper values, this source conanfile.py will be valid too: import os from conans Studio as the input compiler (if no Visual Studio package is available). • base_compatible(): This function will transform the settings used to calculate the package ID into the “base” compiler. def package_id(self): 0 码力 | 893 页 | 7.46 MB | 1 年前3
Conan 1.45 Documentationclass ConsumerConan(ConanFile): python_requires = "/ @ / " # To use functions and␣ ˓→variables from the exported conanfile.py python_requires_extend = " . functions to retrieve the proper values, this source conanfile.py will be valid too: import os from conans Studio as the input compiler (if no Visual Studio package is available). • base_compatible(): This function will transform the settings used to calculate the package ID into the “base” compiler. def package_id(self): 0 码力 | 865 页 | 7.46 MB | 1 年前3
Conan 1 Documentationhave to be replaced. The Conan 2.0 ones are in the conan package. Note the plural. • The “tools” functions are now organized in different packages, you can check the complete reference here. Listing 1: capturing the coordinates, can store them in the conandata.yml using the update_conandata() helper function • The source() method can use the information in self.conan_data coming from the exported conandata cmake_build_modules The declared .build_modules come from the original package that declares useful CMake functions, variables etc. We need to use the property cmake_build_modules to declare a list of cmake files0 码力 | 975 页 | 8.75 MB | 1 年前3
Conan 1.64 Documentationhave to be replaced. The Conan 2.0 ones are in the conan package. Note the plural. • The “tools” functions are now organized in different packages, you can check the complete reference here. Listing 1: capturing the coordinates, can store them in the conandata.yml using the update_conandata() helper function • The source() method can use the information in self.conan_data coming from the exported conandata cmake_build_modules The declared .build_modules come from the original package that declares useful CMake functions, variables etc. We need to use the property cmake_build_modules to declare a list of cmake files0 码力 | 999 页 | 7.54 MB | 1 年前3
Conan 1.63 Documentationhave to be replaced. The Conan 2.0 ones are in the conan package. Note the plural. • The “tools” functions are now organized in different packages, you can check the complete reference here. Listing 1: capturing the coordinates, can store them in the conandata.yml using the update_conandata() helper function • The source() method can use the information in self.conan_data coming from the exported conandata cmake_build_modules The declared .build_modules come from the original package that declares useful CMake functions, variables etc. We need to use the property cmake_build_modules to declare a list of cmake files0 码力 | 995 页 | 7.54 MB | 1 年前3
Conan 1.44 Documentationclass ConsumerConan(ConanFile): python_requires = "/ @ / " # To use functions and␣ ˓→variables from the exported conanfile.py python_requires_extend = " . functions to retrieve the proper values, this source conanfile.py will be valid too: import os from conans Studio as the input compiler (if no Visual Studio package is available). • base_compatible(): This function will transform the settings used to calculate the package ID into the “base” compiler. def package_id(self): 0 码力 | 857 页 | 7.17 MB | 1 年前3
Conan 1.43 Documentationclass ConsumerConan(ConanFile): python_requires = "/ @ / " # To use functions and␣ ˓→variables from the exported conanfile.py python_requires_extend = " . functions to retrieve the proper values, this source conanfile.py will be valid too: import os from conans Studio as the input compiler (if no Visual Studio package is available). • base_compatible(): This function will transform the settings used to calculate the package ID into the “base” compiler. def package_id(self): 0 码力 | 849 页 | 7.15 MB | 1 年前3
Conan 1.56 Documentationhave to be replaced. The Conan 2.0 ones are in the conan package. Note the plural. • The “tools” functions are now organized in different packages, you can check the complete reference here. Listing 1: capturing the coordinates, can store them in the conandata.yml using the update_conandata() helper function • The source() method can use the information in self.conan_data coming from the exported conandata Properties related to pkg_config, only supported by new PkgConfigDeps: • pkg_config_aliases property sets some aliases of any package/component name for the PkgConfigDeps gener- ator only, it doesn’t work0 码力 | 963 页 | 7.67 MB | 1 年前3
Conan 1.54 Documentationhave to be replaced. The Conan 2.0 ones are in the conan package. Note the plural. • The “tools” functions are now organized in different packages, you can check the complete reference here. Listing 1: capturing the coordinates, can store them in the conandata.yml using the update_conandata() helper function • The source() method can use the information in self.conan_data coming from exported conandata Properties related to pkg_config, only supported by new PkgConfigDeps: • pkg_config_aliases property sets some aliases of any package/component name for the PkgConfigDeps gener- ator only, it doesn’t work0 码力 | 953 页 | 7.65 MB | 1 年前3
Conan 1.55 Documentationhave to be replaced. The Conan 2.0 ones are in the conan package. Note the plural. • The “tools” functions are now organized in different packages, you can check the complete reference here. Listing 1: capturing the coordinates, can store them in the conandata.yml using the update_conandata() helper function • The source() method can use the information in self.conan_data coming from exported conandata Properties related to pkg_config, only supported by new PkgConfigDeps: • pkg_config_aliases property sets some aliases of any package/component name for the PkgConfigDeps gener- ator only, it doesn’t work0 码力 | 963 页 | 7.67 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













