Profile

class sbuildr.Profile(flags: sbuildr.tools.flags.BuildFlags, build_dir: str, suffix: str)

Represents a profile in a project. A profile is essentially a set of options applied to targets in the project. For example, a profile can be used to specify that all targets should be built with debug information, and that they should have a “_debug” suffix.

Parameters:
  • flags – The flags to use for this profile. These will be applied to all targets for this profile. Per-target flags always take precedence.
  • build_dir – An absolute path to the build directory to use.
  • suffix – A file suffix to attach to all artifacts generated for this profile.