Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::lang::compilation Struct Reference

The state of a C/C++ compilation and linkage. More...

#include <compilation.h>

List of all members.

Public Types

Public Methods


Detailed Description

The state of a C/C++ compilation and linkage.


Member Typedef Documentation

typedef unsigned long more::lang::compilation::version_type
 


Member Enumeration Documentation

enum more::lang::compilation::target_type
 

Enumeration values:
target_none 
target_program 
target_library 
target_library_dlopen 


Constructor & Destructor Documentation

more::lang::compilation::compilation std::string const &    srcdir,
std::string const &    builddir
 

more::lang::compilation::compilation std::string const &    srcdir,
std::string const &    builddir,
std::string const &    includedir,
std::string const &    libdir
 


Member Function Documentation

void more::lang::compilation::append_cflags std::string const &    cxxflags
 

void more::lang::compilation::append_cppflags std::string const &    cppflags
 

void more::lang::compilation::append_cxxflags std::string const &    cflags
 

void more::lang::compilation::append_ldflags std::string const &    ldflags
 

std::string const& more::lang::compilation::build_dir   const [inline]
 

std::string const& more::lang::compilation::include_dir   const [inline]
 

std::string more::lang::compilation::insert_header std::string const &    bname,
lang_t    lang
 

std::string more::lang::compilation::insert_libadd std::string const &    bname
 

std::string more::lang::compilation::insert_source std::string const &    bname,
lang_t    lang
 

Insert a C or C++ source file.

Same as the overloaded function, except this will always assume the inserted file is new and rebuild.

std::string more::lang::compilation::insert_source std::string const &    bname,
lang_t    lang,
version_type    version
 

Insert a C or C++ source file.

version is the time or version of the file. The file will be compiled if the there is no file with this name already, and recompiled if the version is newer than that of the existing file. Use version==0 to never rebuild. Returns the full path to the file, or an empty string if the file shall not be (re)compiled.

std::string const& more::lang::compilation::lib_dir   const [inline]
 

std::string more::lang::compilation::library_file_name   const [inline]
 

bool more::lang::compilation::make_all  
 

bool more::lang::compilation::make_install  
 

std::string more::lang::compilation::program_file_name   const [inline]
 

void more::lang::compilation::set_interface_added   [inline]
 

void more::lang::compilation::set_interface_changed   [inline]
 

void more::lang::compilation::set_target_library std::string const &    bname,
bool    module_p
 

void more::lang::compilation::set_target_program std::string const &    bname
 

std::string const& more::lang::compilation::src_dir   const [inline]
 


The documentation for this struct was generated from the following file:
Generated on Sat Sep 7 19:12:46 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.