#include <csbuild-options.h>
Public Types | |
enum | purge_mode { PURGE_ALWAYS, PURGE_SUCCESS, PURGE_NEVER } |
Purge modes. More... | |
typedef std::tr1::shared_ptr < options > | ptr |
A shared_ptr to an options object. | |
Public Member Functions | |
options () | |
The constructor. | |
virtual | ~options () |
The destructor. | |
Public Attributes | |
bool | nolog |
No logging. | |
bool | build_arch_all |
Build architecture all packages. | |
bool | build_source |
Build source package. | |
bool | force_orig_source |
Force original source. dpkg-buildpackage -sa. | |
std::string | distribution |
Distribution. | |
std::string | purge_string |
Purge build directory. | |
purge_mode | purge |
Purge build directory. | |
std::string | maintainer |
Maintainer. | |
std::string | keyid |
Key ID. | |
std::string | uploader |
Uploader. | |
sbuild::string_list | forced_dependencies |
Forced dependencies. | |
sbuild::string_list | additional_dependencies |
Additional dependencies. | |
bool | bin_nmu |
Make a binary non-maintainer upload. | |
bool | gcc_snapshot |
Use the current GCC snapshot to build. | |
Static Public Attributes | |
static const action_type | ACTION_BUILD |
Begin, run and end a session. | |
Protected Member Functions | |
virtual void | add_options () |
Add options to option groups. | |
virtual void | add_option_groups () |
Add option groups to container groups. | |
virtual void | check_options () |
Check options after parsing. | |
Protected Attributes | |
boost::program_options::options_description | build |
Build options group. | |
boost::program_options::options_description | user |
User options group. | |
boost::program_options::options_description | special |
Special options group. |
typedef std::tr1::shared_ptr<options> csbuild::options::ptr |
options::options | ( | ) |
options::~options | ( | ) | [virtual] |
void options::add_option_groups | ( | ) | [protected, virtual] |
Add option groups to container groups.
Reimplemented from schroot_base::options.
References build, schroot_base::options::global, special, user, and schroot_base::options::visible.
void options::add_options | ( | ) | [protected, virtual] |
Add options to option groups.
Reimplemented from schroot_base::options.
References schroot_base::options::action, ACTION_BUILD, schroot_base::options::actions, additional_dependencies, bin_nmu, build, build_arch_all, build_source, distribution, force_orig_source, forced_dependencies, gcc_snapshot, schroot_base::options::general, keyid, maintainer, nolog, purge_string, special, uploader, and user.
void options::check_options | ( | ) | [protected, virtual] |
Check options after parsing.
Reimplemented from schroot_base::options.
References schroot_base::options::action, ACTION_BUILD, and schroot_base::options::vm.
const options::action_type options::ACTION_BUILD [static] |
Begin, run and end a session.
Referenced by add_options(), check_options(), and csbuild::main::run_impl().
boost::program_options::options_description csbuild::options::build [protected] |
std::string csbuild::options::distribution |
std::string csbuild::options::keyid |
std::string csbuild::options::maintainer |
Purge build directory.
std::string csbuild::options::purge_string |
boost::program_options::options_description csbuild::options::special [protected] |
std::string csbuild::options::uploader |
boost::program_options::options_description csbuild::options::user [protected] |