Namespaces | Functions
basis.cxx File Reference

BASIS utilities of BASIS project of BASIS package. More...

#include <map>
#include <basis//basis.h>
+ Include dependency graph for basis.cxx:

Go to the source code of this file.

Namespaces

 basis
 

Functions

std::string basis::bindir ()
 Get absolute path to directory containing runtime executables. More...
 
std::string basis::datadir ()
 Get absolute path to directory containing auxiliary data. More...
 
int basis::execute (const std::string &cmd, bool quiet=false, std::ostream *out=NULL, bool allow_fail=false, int verbose=0, bool simulate=false)
 Execute command as subprocess. More...
 
int basis::execute (std::vector< std::string > args, bool quiet=false, std::ostream *out=NULL, bool allow_fail=false, int verbose=0, bool simulate=false)
 Execute command as subprocess. More...
 
std::string basis::exedir (const std::string &name=std::string())
 Get directory of executable file. More...
 
std::string basis::exename (const std::string &name=std::string())
 Get name of executable file. More...
 
std::string basis::exepath (const std::string &name=std::string())
 Get absolute path of executable file. More...
 
bool basis::istarget (const std::string &name)
 Determine whether a given build target is known. More...
 
std::string basis::libdir ()
 Get absolute path to directory containing libraries. More...
 
std::string basis::libexecdir ()
 Get absolute path to directory containing auxiliary executables. More...
 
void basis::print_contact (const char *contact=NULL)
 Print contact information. More...
 
void basis::print_version (const char *name, const char *version=NULL, const char *project=NULL, const char *copyright=NULL, const char *license=NULL)
 Print version information including copyright and license notices. More...
 
std::string basis::targetuid (const std::string &name)
 Get UID of build target. More...
 

Detailed Description

BASIS utilities of BASIS project of BASIS package.

Note
The basis.cxx module was automatically generated by BASIS from the template file basis.cxx.in which is part of the BASIS installation.

Definition in file basis.cxx.