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
Conan 1.60 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 码力 | 983 页 | 7.51 MB | 1 年前3
Conan 1.31 DocumentationStudio 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 set- tings of a compiler into the settings of a parent one using the specified one 4 of the “parent” compatible cannot be guessed, you have to provide them as keyword args to the function. The “compiler” argument is mandatory, the rest of keyword arguments will be used to initialize0 码力 | 721 页 | 5.41 MB | 1 年前3
Conan 1.59 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 码力 | 983 页 | 7.72 MB | 1 年前3
Conan 1.15 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 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 can has to implement: 6.5. Running conan_server 75 conan Documentation, Release 1.15.1 • A factory function get_class() that returns a class with a valid_user() method instance. • The class containing the0 码力 | 540 页 | 4.22 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













