BASIS  r3148
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

namespace  basis

Functions

std::string basis::bindir ()
 Get absolute path of directory containing runtime executables.
std::string basis::datadir ()
 Get absolute path of directory containing auxiliary data.
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.
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.
std::string basis::exedir (const std::string &name=std::string())
 Get directory of executable file.
std::string basis::exename (const std::string &name=std::string())
 Get name of executable file.
std::string basis::exepath (const std::string &name=std::string())
 Get absolute path of executable file.
bool basis::istarget (const std::string &name)
 Determine whether a given build target is known.
std::string basis::libdir ()
 Get absolute path of directory containing libraries.
std::string basis::libexecdir ()
 Get absolute path of directory containing auxiliary executables.
void basis::print_contact (const char *contact=NULL)
 Print contact information.
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.
std::string basis::targetuid (const std::string &name)
 Get UID of build target.

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.

Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file basis.cxx.