-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScriptInfo.hpp
More file actions
43 lines (33 loc) · 1.38 KB
/
Copy pathScriptInfo.hpp
File metadata and controls
43 lines (33 loc) · 1.38 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
41
42
43
#ifndef RUNCPP2_DATA_SCRIPT_INFO_HPP
#define RUNCPP2_DATA_SCRIPT_INFO_HPP
#include "runcpp2/Data/DependencyInfo.hpp"
#include "runcpp2/Data/ProfilesFlagsOverride.hpp"
#include "runcpp2/Data/ParseCommon.hpp"
#include "runcpp2/Data/ProfilesCompilesFiles.hpp"
#include "runcpp2/Data/ProfilesDefines.hpp"
#include <string>
#include <vector>
#include <unordered_map>
namespace runcpp2
{
namespace Data
{
class ScriptInfo
{
public:
std::string Language;
bool PassScriptPath = false;
std::unordered_map<PlatformName, std::vector<ProfileName>> RequiredProfiles;
std::unordered_map<PlatformName, ProfilesFlagsOverride> OverrideCompileFlags;
std::unordered_map<PlatformName, ProfilesFlagsOverride> OverrideLinkFlags;
std::unordered_map<PlatformName, ProfilesCompilesFiles> OtherFilesToBeCompiled;
std::vector<DependencyInfo> Dependencies;
std::unordered_map<PlatformName, ProfilesDefines> Defines;
bool Populated = false;
bool ParseYAML_Node(ryml::ConstNodeRef& node);
std::string ToString(std::string indentation) const;
bool Equals(const ScriptInfo& other) const;
};
}
}
#endif