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

a data structure holding options passed to generators More...

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

Public Types

enum  OptimisationLevel { LEVEL0 , LEVEL1 , LEVEL2 }
 a simple enumeration describing the optimisation level. More...

Public Member Functions

 GeneratorOptions ()
 default constructor
 GeneratorOptions (const GeneratorOptions &)
 copy constructor
 GeneratorOptions (GeneratorOptions &&) noexcept
 move constructor
GeneratorOptions & operator= (const GeneratorOptions &)
 copy assignement
GeneratorOptions & operator= (GeneratorOptions &&) noexcept
 move assignement
 ~GeneratorOptions ()
 destructor

Public Attributes

std::vector< std::string > include_paths
 include paths
std::vector< std::string > library_paths
 library paths
std::string sys = "default"
 targeted operating system
OptimisationLevel olevel = LEVEL1
 optimisation level
bool debugFlags = false
 add debugging flags
bool silentBuild = true
 boolean stating that no output regarding the compilation commands shall be displayed.
bool setRPATH = true
 boolean stating if rpath shall be set
bool nodeps = false
bool melt = true

Detailed Description

a data structure holding options passed to generators

Member Enumeration Documentation

◆ OptimisationLevel

a simple enumeration describing the optimisation level.

Note
See the tfel-config utility for more details
Enumerator
LEVEL0 

no architecture specific optimisations (i.e. no

LEVEL1 

standard optimisation level. The options used are

LEVEL2 

add potentially unsafe math optmisations. The

Constructor & Destructor Documentation

◆ GeneratorOptions() [1/2]

mfront::GeneratorOptions::GeneratorOptions ( const GeneratorOptions & )

copy constructor

Parameters
[in]srcsource

◆ GeneratorOptions() [2/2]

mfront::GeneratorOptions::GeneratorOptions ( GeneratorOptions && )
noexcept

move constructor

Parameters
[in]srcsource

Member Function Documentation

◆ operator=() [1/2]

GeneratorOptions & mfront::GeneratorOptions::operator= ( const GeneratorOptions & )

copy assignement

Parameters
[in]srcsource

◆ operator=() [2/2]

GeneratorOptions & mfront::GeneratorOptions::operator= ( GeneratorOptions && )
noexcept

move assignement

Parameters
[in]srcsource

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