Conan 1.41 Documentationrecipe_folder, "CMakeLists.txt")) version = re.search(r"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) self.version = version.strip() 17.23 How to use Conan as other language package manager Conan Conan user. It is possible that the Conan user is the name of an organization, project, company or group, and many users have permissions over that account. In this case, the author information can explicitly (john.smith@company.com)" This is an optional attribute. topics Topics provide a useful way to group related tags together and to quickly tell developers what a package is about. Topics also make it0 码力 | 835 页 | 7.10 MB | 1 年前3
Conan 2.0 Documentationimport UserInput recipe_color = Color.BRIGHT_BLUE removed_color = Color.BRIGHT_YELLOW @conan_command(group="Custom commands") def clean(conan_api: ConanAPI, parser, *args): """ Deletes (from local cache or smith@company.com)" 346 Chapter 8. Reference Conan Documentation, Release 2.0.17 topics Tags to group related packages together and describe what the code is about. Used as a search filter in ConanCenter existing Conan one: conan your_command_name. Scoping It’s possible to have another folder layer to group some commands under the same topic. For instance: | - [YOUR_CONAN_HOME]/extensions/commands/greet/0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 1.9 Documentationuser name, and later the same packages can be uploaded, without modifications, to another official group or company username. • stable is the channel. Channels provide another way to have different variants content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as e: return None class HelloConan(ConanFile): name Conan user. It is possible that the Conan user is the name of an organization, project, company or group, and many users have permissions over that account. In this case, the author information can explicitly0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.10 Documentationuser name, and later the same packages can be uploaded, without modifications, to another official group or company username. • stable is the channel. Channels provide another way to have different variants content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as e: return None class HelloConan(ConanFile): name Conan user. It is possible that the Conan user is the name of an organization, project, company or group, and many users have permissions over that account. In this case, the author information can explicitly0 码力 | 479 页 | 3.09 MB | 1 年前3
Conan 1.11 Documentationuser name, and later the same packages can be uploaded, without modifications, to another official group or company username. • stable is the channel. Channels provide another way to have different variants content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as e: return None class HelloConan(ConanFile): name Conan user. It is possible that the Conan user is the name of an organization, project, company or group, and many users have permissions over that account. In this case, the author information can explicitly0 码力 | 490 页 | 4.05 MB | 1 年前3
Conan 2.1 Documentationimport UserInput recipe_color = Color.BRIGHT_BLUE removed_color = Color.BRIGHT_YELLOW @conan_command(group="Custom commands") def clean(conan_api: ConanAPI, parser, *args): """ Deletes (from local cache or class HelloConan(ConanFile): author = "John J. Smith (john.smith@company.com)" topics Tags to group related packages together and describe what the code is about. Used as a search filter in ConanCenter existing Conan one: conan your_command_name. Scoping It’s possible to have another folder layer to group some commands under the same topic. For instance: | - [YOUR_CONAN_HOME]/extensions/commands/greet/0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 1.12 Documentationuser name, and later the same packages can be uploaded, without modifications, to another official group or company username. • stable is the channel. Channels provide another way to have different variants content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as e: return None class HelloConan(ConanFile): name Conan user. It is possible that the Conan user is the name of an organization, project, company or group, and many users have permissions over that account. In this case, the author information can explicitly0 码力 | 505 页 | 4.10 MB | 1 年前3
Conan 2.10 Documentationprevious page) recipe_color = Color.BRIGHT_BLUE removed_color = Color.BRIGHT_YELLOW @conan_command(group="Custom commands") def clean(conan_api: ConanAPI, parser, *args): """ Deletes (from local cache or remote. version Give information about the Conan client version. workspace Manage Conan workspaces (group of packages in editable mode) Creator commands build Install dependencies and call the build() method smith@company.com)" 432 Chapter 8. Reference Conan Documentation, Release 2.10.1 topics Tags to group related packages together and describe what the code is about. Used as a search filter in ConanCenter0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.3 Documentationimport UserInput recipe_color = Color.BRIGHT_BLUE removed_color = Color.BRIGHT_YELLOW @conan_command(group="Custom commands") def clean(conan_api: ConanAPI, parser, *args): """ Deletes (from local cache or class HelloConan(ConanFile): author = "John J. Smith (john.smith@company.com)" topics Tags to group related packages together and describe what the code is about. Used as a search filter in ConanCenter existing Conan one: conan your_command_name. Scoping It’s possible to have another folder layer to group some commands under the same topic. For instance: | - [YOUR_CONAN_HOME]/extensions/commands/greet/0 码力 | 748 页 | 4.65 MB | 1 年前3
Conan 2.5 Documentationimport UserInput recipe_color = Color.BRIGHT_BLUE removed_color = Color.BRIGHT_YELLOW @conan_command(group="Custom commands") def clean(conan_api: ConanAPI, parser, *args): """ Deletes (from local cache or class HelloConan(ConanFile): author = "John J. Smith (john.smith@company.com)" topics Tags to group related packages together and describe what the code is about. Used as a search filter in ConanCenter existing Conan one: conan your_command_name. Scoping It’s possible to have another folder layer to group some commands under the same topic. For instance: | - [YOUR_CONAN_HOME]/extensions/commands/greet/0 码力 | 769 页 | 4.70 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













