-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLinkerInfo.hpp
More file actions
40 lines (33 loc) · 1.15 KB
/
Copy pathLinkerInfo.hpp
File metadata and controls
40 lines (33 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef RUNCPP2_DATA_LINKER_INFO_HPP
#define RUNCPP2_DATA_LINKER_INFO_HPP
#include "runcpp2/Data/ParseCommon.hpp"
#include "ryml.hpp"
#include <vector>
#include <string>
#include <unordered_map>
namespace runcpp2
{
namespace Data
{
class LinkerInfo
{
public:
std::unordered_map<PlatformName, std::string> EnvironmentSetup;
std::string Executable;
std::string CheckExistence;
std::unordered_map<PlatformName, std::string> DefaultLinkFlags;
std::unordered_map<PlatformName, std::string> ExecutableLinkFlags;
std::unordered_map<PlatformName, std::string> StaticLibLinkFlags;
std::unordered_map<PlatformName, std::string> SharedLibLinkFlags;
struct Args
{
std::string OutputPart;
std::string LinkPart;
};
Args LinkArgs;
bool ParseYAML_Node(ryml::ConstNodeRef& node);
std::string ToString(std::string indentation) const;
};
}
}
#endif