Conan 2.10 Documentationextension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via this case, as our project uses CMake as the build system, we call to cmake_layout(). Calling this function will set the expected locations for a CMake project. • The generate() method prepares the build pass all the keys of the specified ver- sion (url, sha256, and strip_root) as arguments to the get function, that, in this case, allow us to verify that the downloaded zip file has the correct sha256. So0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.9 Documentationextension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via this case, as our project uses CMake as the build system, we call to cmake_layout(). Calling this function will set the expected locations for a CMake project. • The generate() method prepares the build pass all the keys of the specified ver- sion (url, sha256, and strip_root) as arguments to the get function, that, in this case, allow us to verify that the downloaded zip file has the correct sha256. So0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.8 Documentationextension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via this case, as our project uses CMake as the build system, we call to cmake_layout(). Calling this function will set the expected locations for a CMake project. • The generate() method prepares the build pass all the keys of the specified ver- sion (url, sha256, and strip_root) as arguments to the get function, that, in this case, allow us to verify that the downloaded zip file has the correct sha256. So0 码力 | 785 页 | 4.95 MB | 10 月前3
Conan 2.7 Documentationextension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared, managed and installed via this case, as our project uses CMake as the build system, we call to cmake_layout(). Calling this function will set the expected locations for a CMake project. • The generate() method prepares the build pass all the keys of the specified ver- sion (url, sha256, and strip_root) as arguments to the get function, that, in this case, allow us to verify that the downloaded zip file has the correct sha256. So0 码力 | 779 页 | 4.93 MB | 10 月前3
Conan 1.64 Documentationcapturing 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 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. 7.6. Defining corresponding to the base compiler. • parent_compatible(compiler="compiler", version="version"): This function transforms the set- tings of a compiler into the settings of a parent one using the specified one0 码力 | 999 页 | 7.54 MB | 1 年前3
Conan 1 Documentationcapturing 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 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): corresponding to the base compiler. • parent_compatible(compiler="compiler", version="version"): This function transforms the settings of a compiler into the settings of a parent one using the specified one0 码力 | 975 页 | 8.75 MB | 1 年前3
Conan 1.63 Documentationcapturing 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 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. 7.6. Defining corresponding to the base compiler. • parent_compatible(compiler="compiler", version="version"): This function transforms the set- tings of a compiler into the settings of a parent one using the specified one0 码力 | 995 页 | 7.54 MB | 1 年前3
Conan 1.62 Documentationcapturing 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 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. 7.6. Defining corresponding to the base compiler. • parent_compatible(compiler="compiler", version="version"): This function transforms the set- tings of a compiler into the settings of a parent one using the specified one0 码力 | 993 页 | 7.53 MB | 1 年前3
Conan 1.61 Documentationcapturing 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 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. 7.6. Defining corresponding to the base compiler. • parent_compatible(compiler="compiler", version="version"): This function transforms the set- tings of a compiler into the settings of a parent one using the specified one0 码力 | 985 页 | 7.52 MB | 1 年前3
Conan 1.16 Documentationh header file in version 2.1 int addition (int a, int b) { return a + b; } And the addition() function is called from the compiled .cpp files of MyLib/1.0? Then, a new binary for MyLib/1.0 is required syntax, so we have to add this information to the data provided to the consumers in the package_info function: set_target_properties(mylibrary PROPERTIES DEBUG_POSTFIX _d) Such a package can define its information is a special exception, conans.errors.ConanInvalidConfiguration to be launched from configure() function in a recipe if the given configuration/options is known not to work. This way the recipe owner can0 码力 | 545 页 | 4.34 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













