tfel
Loading...
Searching...
No Matches
mfront::CompiledTargetDescriptionBase Struct Reference

This structure is used to build the compilation rules for an compiled target. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/CompiledTargetDescriptionBase.hxx>

Inheritance diagram for mfront::CompiledTargetDescriptionBase:
mfront::ExecutableDescription mfront::LibraryDescription

Public Types

enum  TargetSystem { WINDOWS , CYGWIN , MACOSX , UNIX }

Public Member Functions

 CompiledTargetDescriptionBase (const std::string &, const std::string &, const std::string &)
 CompiledTargetDescriptionBase (const CompiledTargetDescriptionBase &)
 copy constructor
 CompiledTargetDescriptionBase (CompiledTargetDescriptionBase &&) noexcept
 move constructor
CompiledTargetDescriptionBase & operator= (const CompiledTargetDescriptionBase &)=delete
 standard assignement (deleted)
CompiledTargetDescriptionBase & operator= (CompiledTargetDescriptionBase &&) noexcept=delete
 move assignement (deleted)
 ~CompiledTargetDescriptionBase ()
 destructor

Public Attributes

const std::string name
 name
const std::string prefix
 suffix
const std::string suffix
 suffix
std::vector< std::string > mfront_sources
 list of mfront files used to generate the C++ sources
std::vector< std::string > sources
 generated sources
std::vector< std::string > cppflags
 additional preprocessor flags
std::vector< std::string > include_directories
 path to the libraries to be linked
std::vector< std::string > link_directories
 path to the libraries to be linked
std::vector< std::string > link_libraries
 libraries to be linked
std::vector< std::string > deps
 dependencies to other generated libraries
std::vector< std::string > ldflags
 the linker flags
std::string install_path
 installation path

Detailed Description

This structure is used to build the compilation rules for an compiled target.

  • the name
  • the generated sources
  • the required preprocessor flags
  • the linker flags of the generated executable
  • the generated entry points (function or class names)

Member Enumeration Documentation

◆ TargetSystem

Constructor & Destructor Documentation

◆ CompiledTargetDescriptionBase()

mfront::CompiledTargetDescriptionBase::CompiledTargetDescriptionBase ( const std::string & ,
const std::string & ,
const std::string &  )

Constructor

Parameters
[in]n: name of the executable
[in]p: prefix of the executable
[in]s: suffix of the executable
[in]t: type of the executable

The documentation for this struct was generated from the following file: