hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
ccObjectLinker Class Reference

#include <ccObjectLinker.h>

Inheritance diagram for ccObjectLinker:
Collaboration diagram for ccObjectLinker:

Public Member Functions

 ccObjectLinker (const yoi::vec< yoi::wstr > &objectPaths, const std::shared_ptr< IRBuildConfig > &config)
 
ObjectLinkersearchAndSetupLinker () override
 
ObjectLinkerlink (const yoi::wstr &outputPath) override
 
- Public Member Functions inherited from ObjectLinker
 ObjectLinker (const yoi::vec< yoi::wstr > &objectPaths, const std::shared_ptr< IRBuildConfig > &config)
 
yoi::wstr getLinkerPath () const
 
ObjectLinkersetLinkerPath (const yoi::wstr &linkerPath)
 
yoi::vec< yoi::wstrgetObjectPaths () const
 
ObjectLinkersetObjectPaths (const yoi::vec< yoi::wstr > &objectPaths)
 
yoi::wstr getElysiaRuntimePath () const
 
ObjectLinkersetElysiaRuntimePath (const yoi::wstr &elysiaRuntimePath)
 
std::shared_ptr< IRBuildConfiggetConfig () const
 
ObjectLinkersetConfig (const std::shared_ptr< IRBuildConfig > &config)
 
virtual ~ObjectLinker ()=default
 

Private Member Functions

bool commandExists (const std::string &command)
 

Additional Inherited Members

- Static Public Member Functions inherited from ObjectLinker
static yoi::vec< yoi::wstrdefaultAdditionalLinkingFiles ()
 

Detailed Description

Definition at line 13 of file ccObjectLinker.h.

Constructor & Destructor Documentation

◆ ccObjectLinker()

ccObjectLinker ( const yoi::vec< yoi::wstr > &  objectPaths,
const std::shared_ptr< IRBuildConfig > &  config 
)

Definition at line 15 of file ccObjectLinker.cpp.

References ObjectLinker::setLinkerPath().

Here is the call graph for this function:

Member Function Documentation

◆ commandExists()

bool commandExists ( const std::string &  command)
private

Definition at line 20 of file ccObjectLinker.cpp.

Referenced by ccObjectLinker::searchAndSetupLinker().

Here is the caller graph for this function:

◆ link()

◆ searchAndSetupLinker()

ObjectLinker & searchAndSetupLinker ( )
overridevirtual

Implements ObjectLinker.

Definition at line 51 of file ccObjectLinker.cpp.

References ccObjectLinker::commandExists(), and ObjectLinker::setLinkerPath().

Here is the call graph for this function:

The documentation for this class was generated from the following files: