qibuild.profile – Managing build profiles
Tools to handle build profiles
Profile
-
class qibuild.profile.Profile(name)
A profile is just a set of CMake flags for now.
If has a name you can specify when building using
qibuild configure --profile <name>
-
name
-
cmake_flags
A list of tuples (name, value)
(Not a dict because the order matters)
Other functions in this module
-
qibuild.profile.configure_build_profile(xml_path, name, flags)
Add a new profile to an XML file
-
qibuild.profile.remove_build_profile(xml_path, name)
Remove a build profile from XML file
-
qibuild.profile.parse_profiles(xml_path)
Parse .qi/qibuild.xml. Return a dict
name -> Profile