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

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

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

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

Public Member Functions

 ExecutableDescription (const std::string &, const std::string &, const std::string &)
 ExecutableDescription (const ExecutableDescription &)
 copy constructor
 ExecutableDescription (ExecutableDescription &&) noexcept
 move constructor
ExecutableDescription & operator= (const ExecutableDescription &)=delete
 standard assignement (deleted)
ExecutableDescription & operator= (ExecutableDescription &&) noexcept=delete
 move assignement (deleted)
 ~ExecutableDescription ()
 destructor
Public Member Functions inherited from mfront::CompiledTargetDescriptionBase
 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

Static Public Member Functions

static const char * getDefaultExecutablePrefix (const TargetSystem) noexcept
static const char * getDefaultExecutableSuffix (const TargetSystem) noexcept

Additional Inherited Members

Public Types inherited from mfront::CompiledTargetDescriptionBase
enum  TargetSystem { WINDOWS , CYGWIN , MACOSX , UNIX }
Public Attributes inherited from mfront::CompiledTargetDescriptionBase
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 executable.

Constructor & Destructor Documentation

◆ ExecutableDescription()

mfront::ExecutableDescription::ExecutableDescription ( 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

Member Function Documentation

◆ getDefaultExecutablePrefix()

const char * mfront::ExecutableDescription::getDefaultExecutablePrefix ( const TargetSystem )
staticnoexcept
Returns
the default executable prefix for the given target system and executable type
Parameters
[in]s: target system

◆ getDefaultExecutableSuffix()

const char * mfront::ExecutableDescription::getDefaultExecutableSuffix ( const TargetSystem )
staticnoexcept
Returns
the default executable suffix for the given target system and executable type
Parameters
[in]s: target system

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