![]() ![]() If a file matchesīoth the include and the exclude pattern, it will be excluded. excludes (Optional, Defaulted to None): Single pattern or a tuple of patterns to be excluded from the copy.symlinks (Optional, Defaulted to None): Set it to True to activate symlink copying, like typical lib.so->lib.so.9.Typically headers are packaged with relative path. keep_path (Optional, Defaulted to True): Means if you want to keep the relative path when you copy the files from the srcįolder to the dst one.Leaving it empty means the root package folder in local cache. They will typically be include for headers, libįor libraries and so on, though you can use any convention you like. dst (Optional, Defaulted to ""): Destination folder in the package.Means the root build folder in local cache. Libraries when you build your package will be in build/lib, you will typically use build/lib in this parameter. src (Optional, Defaulted to ""): The folder where you want to search the files in the build folder.pattern (Required): A pattern following fnmatch syntax of the files you want to copy, from the build to the package folders.copy ( pattern, dst = "", src = "", keep_path = True, symlinks = None, excludes = None, ignore_case = False ) Parameters: Verify that a package is downloaded correctly. You can also use check_md5(), check_sha1() and check_sha256() from the tools module to The build() method and define your package() and package_info() accordingly. You already have, even if you don’t have the source code. You can even create packages for pre-compiled libraries The download, unzip utilities can be imported from conan, but you can also use your own code here ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |