![]() verify_ssl (Optional, Defaulted to True): Verify SSL certificate of the specified url.password (Optional, Defaulted to None): When present, it will be used as the password to authenticate with the remote.username (Optional, Defaulted to None): When present, it will be used as the login to authenticate with the remote.): A subfolder where the repository will be cloned. When type is git, it can also be the branch name or a tag. revision (Required): id of the revision or auto to capture the current working copy one.url (Required): URL of the remote or auto to capture the remote from the local workingĬopy (credentials will be removed from it).type (Required): Currently only git and svn are supported.names = "SSL" obj_ext = "obj" if platform. requires = # Depends on headers component in boost package self. requires = # Depends on all components in zlib package self. Use self.cpp_info.names instead.ĭef package_info ( self ): self. Defaulted to or if layout() is declared *įilled with the root directory of the package, see deps_cpp_info Ordered list with frameworks search paths (OSX). Ordered list with the framework names (OSX), Defaulted to (empty) Ordered list with linker flags (executables). Ordered list with linker flags (shared libs). Ordered list with the library names, Defaulted to (empty) (like a snapshot) that will be used to generate the final artifacts.ĬMake generators will search in these dirs for files like findXXX.cmake If nothing else is required, it can create a self-contained package with all the sources Unlike the other methods, filesĭeclared in exports_sources will be exported together with the conanfile.py recipe, so, This is another way to retrieve the sources to create a package. Together with the source() and imports() methods, and the SCM feature, The exports_sources attribute can declare one single file or pattern, or a list of any of theįormatting to declare files to include or exclude. And, due to its purpose, these files will only be retrieved if requestedīinaries are not available or the user forces Conan to compile from sources. Shouldn’t be used by the conanfile.py Python code, but to compile the library or generate Recipe and will be available to generate the package. This optional attribute declares the set of files that should be exported together with the The most common and suggested approach would be to define it in plain text as a constant, or provide it as command line arguments. Please note that this value might be used in the recipe in other places (as in source() method to retrieve code from elsewhere), making this value not constant means that it may evaluate differently in different contexts (e.g., on different machines or for different users) leading to unrepeatable or unpredictable results. a function that reads an environment variable, or a file from disk). It might take its value from an environment variable, or even any python code that defines it (e.g. ![]() The version is only strictly necessary for export-ing the recipe into the local cache ( export and create commands), if they are not defined in the command line. In case the version follows semantic versioning in the form X.Y.Z-pre1+build2, that value might be used for requiring this package through version ranges instead of exact versions. The version attribute will define the version part of the package reference: is a string, and can take any value, matching the same constraints as the name attribute.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |