structure containing the results of the analysis of a MFront file. This structure is used to build the compilation rules for the libraries and specific targets defined by MFront interfaces.
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/TargetsDescription.hxx>
structure containing the results of the analysis of a MFront file. This structure is used to build the compilation rules for the libraries and specific targets defined by MFront interfaces.
◆ getLibrary() [1/5]
- Returns
- the library description associated with the given library name or a newly created one if non existed.
- Parameters
-
| [in] | n | : name of the library searched |
◆ getLibrary() [2/5]
| const LibraryDescription & mfront::TargetsDescription::getLibrary |
( |
const std::string & | | ) |
const |
|
nodiscard |
- Returns
- the library description associated with the given library name.
- Parameters
-
| [in] | n | : name of the library searched |
◆ getLibrary() [3/5]
| LibraryDescription & mfront::TargetsDescription::getLibrary |
( |
const std::string & | , |
|
|
const std::string & | ) |
|
nodiscard |
- Returns
- the library description associated with the given library name or a newly created one if non existed.
- Parameters
-
| [in] | n | : name of the library searched |
| [in] | p | : library prefix |
◆ getLibrary() [4/5]
| LibraryDescription & mfront::TargetsDescription::getLibrary |
( |
const std::string & | , |
|
|
const std::string & | , |
|
|
const std::string & | ) |
|
nodiscard |
- Returns
- the library description associated with the given library name or a newly created one if non existed.
- Parameters
-
| [in] | n | : name of the library searched |
| [in] | p | : library prefix |
| [in] | s | : library suffix |
◆ getLibrary() [5/5]
- Returns
- the library description associated with the given library name or a newly created one if non existed.
- Parameters
-
| [in] | n | : name of the library searched |
| [in] | pr | : library prefix |
| [in] | s | : library suffix |
| [in] | t | : library type |
- Note
- If the the library already exists and the suffix and/or the type does not match, an exception is thrown
◆ libraryType
Initial value:=
LibraryDescription::SHARED_LIBRARY
default library type
◆ specific_targets
Specific targets and associated dependencies to other targets (for example, mfront generated library) and commands required to build the target.
A specific target will define the following Makefile rule:
target : dep1 dep2 src1 src1...
cmd1
cmd2
....
The documentation for this struct was generated from the following file: