hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
ccObjectLinker.h
Go to the documentation of this file.
1//
2// Created by XIaokang00010 on 2025/7/31.
3//
4
5#ifndef YOICH_CCOBJECTLINKER_HPP
6#define YOICH_CCOBJECTLINKER_HPP
7
8#include "compiler/ir/IR.h"
9#include "objectLinker.h"
10#include <string>
11
12namespace yoi {
14 public:
15 ccObjectLinker(const yoi::vec<yoi::wstr> &objectPaths, const std::shared_ptr<IRBuildConfig> &config);
16
18 ObjectLinker &link(const yoi::wstr &outputPath) override;
19
20 private:
21 bool commandExists(const std::string& command);
22 };
23
24} // namespace yoi
25
26#endif // YOICH_CCOBJECTLINKER_HPP
std::shared_ptr< IRBuildConfig > config
yoi::vec< yoi::wstr > objectPaths
bool commandExists(const std::string &command)
ObjectLinker & link(const yoi::wstr &outputPath) override
ObjectLinker & searchAndSetupLinker() override
std::vector< t > vec
Definition def.hpp:53
std::wstring wstr
Definition def.hpp:48