Pol  Revision:e50bd96
Pol::ECompile Namespace Reference

Classes

class  ECompileMain
 
struct  Summary
 

Functions

void AutoCompile ()
 
bool compile_file (const char *path)
 
void compile_file_wrapper (const char *path)
 
void compile_inc (const char *path)
 
void generate_wordlist ()
 
void parallel_compile (const std::vector< std::string > &files)
 
void read_config_file (int argc, char *argv[])
 
int readargs (int argc, char **argv)
 
void recurse_compile (const std::string &basedir, std::vector< std::string > *files)
 
void recurse_compile_inc (const std::string &basedir, std::vector< std::string > *files)
 
bool run (int argc, char **argv)
 
bool setting_value (const char *arg)
 

Variables

std::string CfgPathEnv
 
int debug = 0
 
bool dont_optimize_object_members = false
 
std::string EmPathEnv
 
bool expect_compile_failure = false
 
bool force_update = false
 
std::string IncPathEnv
 
bool keep_building = false
 
bool opt_generate_wordlist = false
 
bool quiet = false
 
static int s_argc
 
static char ** s_argv
 
bool show_timing_details = false
 
struct Pol::ECompile::Summary summary
 
bool timing_quiet_override = false
 
bool verbose = false
 

Function Documentation

void Pol::ECompile::compile_file_wrapper ( const char *  path)

Definition at line 317 of file ECompileMain.cpp.

References compile_file(), Pol::ECompile::Summary::CompiledScripts, Pol::ECompile::Summary::ScriptsWithCompileErrors, summary, and Pol::ECompile::Summary::UpToDateScripts.

Referenced by run().

+ Here is the call graph for this function:

void Pol::ECompile::compile_inc ( const char *  path)

Definition at line 138 of file ECompileMain.cpp.

References Pol::Bscript::Compiler::compileFile(), INFO_PRINT, Pol::Bscript::Compiler::setIncludeCompileMode(), and Pol::Bscript::Parser::setQuiet().

Referenced by compile_file(), and run().

+ Here is the call graph for this function:

void Pol::ECompile::generate_wordlist ( )

Definition at line 131 of file ECompileMain.cpp.

References INFO_PRINT, and Pol::Bscript::Parser::write_words().

Referenced by Pol::ECompile::ECompileMain::main().

+ Here is the call graph for this function:

void Pol::ECompile::parallel_compile ( const std::vector< std::string > &  files)
void Pol::ECompile::read_config_file ( int  argc,
char *  argv[] 
)
void Pol::ECompile::recurse_compile ( const std::string &  basedir,
std::vector< std::string > *  files 
)
void Pol::ECompile::recurse_compile_inc ( const std::string &  basedir,
std::vector< std::string > *  files 
)

Definition at line 593 of file ECompileMain.cpp.

References Pol::Clib::DirList::at_end(), compile_file(), name, and recurse_compile().

Referenced by run().

+ Here is the call graph for this function:

bool Pol::ECompile::setting_value ( const char *  arg)

Definition at line 335 of file ECompileMain.cpp.

Referenced by readargs().

Variable Documentation

std::string Pol::ECompile::CfgPathEnv

Definition at line 122 of file ECompileMain.cpp.

int Pol::ECompile::debug = 0

Definition at line 110 of file ECompileMain.cpp.

bool Pol::ECompile::dont_optimize_object_members = false

Definition at line 119 of file ECompileMain.cpp.

std::string Pol::ECompile::EmPathEnv

Definition at line 120 of file ECompileMain.cpp.

bool Pol::ECompile::expect_compile_failure = false

Definition at line 118 of file ECompileMain.cpp.

bool Pol::ECompile::force_update = false

Definition at line 115 of file ECompileMain.cpp.

std::string Pol::ECompile::IncPathEnv

Definition at line 121 of file ECompileMain.cpp.

bool Pol::ECompile::keep_building = false

Definition at line 113 of file ECompileMain.cpp.

bool Pol::ECompile::opt_generate_wordlist = false

Definition at line 112 of file ECompileMain.cpp.

Referenced by Pol::ECompile::ECompileMain::main().

bool Pol::ECompile::quiet = false
int Pol::ECompile::s_argc
static

Definition at line 107 of file ECompileMain.cpp.

Referenced by main().

char** Pol::ECompile::s_argv
static

Definition at line 108 of file ECompileMain.cpp.

Referenced by main().

bool Pol::ECompile::show_timing_details = false

Definition at line 116 of file ECompileMain.cpp.

struct Pol::ECompile::Summary Pol::ECompile::summary
bool Pol::ECompile::timing_quiet_override = false

Definition at line 117 of file ECompileMain.cpp.

bool Pol::ECompile::verbose = false

Definition at line 114 of file ECompileMain.cpp.