Go to the documentation of this file.
17 #define EX_SOFTWARE 70
104 const std::list<std::string> &values=
107 for(std::list<std::string>::const_iterator
116 const std::list<std::string> &values=
119 for(std::list<std::string>::const_iterator
128 std::list<std::string>::iterator it;
130 std::cout <<
"Defines:\n";
135 std::cout <<
" " << (*it) <<
'\n';
138 std::cout <<
"Undefines:\n";
143 std::cout <<
" " << (*it) <<
'\n';
146 std::cout <<
"Preprocessor Options:\n";
151 std::cout <<
" " << (*it) <<
'\n';
154 std::cout <<
"Include Paths:\n";
159 std::cout <<
" " << (*it) <<
'\n';
162 std::cout <<
"Library Paths:\n";
167 std::cout <<
" " << (*it) <<
'\n';
170 std::cout <<
"Output file (object): "
172 std::cout <<
"Output file (executable): "
177 return compiler.
doit() ? EX_USAGE : EX_OK;
183 std::cout <<
"goto-cw understands the options of "
184 <<
"gcc (mwcc mode) plus the following.\n\n";
Class that provides messages with a built-in verbosity 'level'.
std::list< std::string > defines
virtual bool isset(char option) const
console_message_handlert message_handler
std::list< std::string > include_paths
bool doit()
reads and source and object files, compiles and links them into goto program objects.
std::list< std::string > libraries
@ COMPILE_LINK_EXECUTABLE
const std::string base_name
std::list< std::string > undefines
struct configt::ansi_ct ansi_c
std::string output_file_object
bool has_prefix(const std::string &s, const std::string &prefix)
std::string output_file_executable
virtual void help_mode()
display command line help
std::string get_value(char option) const
std::list< std::string > library_paths
Compile and link source and object files.
std::string object_file_extension
std::list< std::string > preprocessor_options
virtual int doit()
does it.
bool set(const cmdlinet &cmdline)
Base class for command line interpretation.
void help()
display command line help
static unsigned eval_verbosity(const std::string &user_input, const message_levelt default_verbosity, message_handlert &dest)
Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest.
const std::list< std::string > & get_values(const std::string &option) const