C/C++¶
Patterns for compiling C and C++ objects and executables.
-
picard.clang.executable(filename: Union[str, os.PathLike], *objects) → picard.typing.Target¶ Link an executable from object files.
Parameters: - filename – The filename or path to where the executable should be built.
- *objects – A set of filenames, paths, or targets for the object files.
Returns: A file target for the executable linked from
objects.Return type: Target
-
picard.clang.object_(source: Union[picard.typing.Target, str, os.PathLike]) → picard.typing.Target¶ Compile an object file from a source file.
Parameters: source – A filename, path, or file target. Returns: A file target for the object file compiled from source.Return type: Target
-
picard.clang.objects(*sources)¶ Return a set of object files mapped from a set of source files.