-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDependencyInfo.hpp
More file actions
41 lines (35 loc) · 1.37 KB
/
Copy pathDependencyInfo.hpp
File metadata and controls
41 lines (35 loc) · 1.37 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
#ifndef RUNCPP2_DATA_DEPENDENCY_INFO_HPP
#define RUNCPP2_DATA_DEPENDENCY_INFO_HPP
#include "runcpp2/Data/DependencyLibraryType.hpp"
#include "runcpp2/Data/DependencySource.hpp"
#include "runcpp2/Data/DependencyLinkProperty.hpp"
#include "runcpp2/Data/ProfilesCommands.hpp"
#include "runcpp2/Data/ParseCommon.hpp"
#include "runcpp2/Data/FilesToCopyInfo.hpp"
#include "runcpp2/YamlLib.hpp"
#include <string>
#include <unordered_set>
namespace runcpp2
{
namespace Data
{
struct DependencyInfo
{
std::string Name;
std::unordered_set<PlatformName> Platforms;
DependencySource Source;
DependencyLibraryType LibraryType;
std::vector<std::string> IncludePaths;
std::vector<std::string> AbsoluteIncludePaths;
std::unordered_map<PlatformName, DependencyLinkProperty> LinkProperties;
std::unordered_map<PlatformName, ProfilesCommands> Setup;
std::unordered_map<PlatformName, ProfilesCommands> Cleanup;
std::unordered_map<PlatformName, ProfilesCommands> Build;
std::unordered_map<PlatformName, FilesToCopyInfo> FilesToCopy;
bool ParseYAML_Node(YAML::ConstNodePtr node);
std::string ToString(std::string indentation) const;
bool Equals(const DependencyInfo& other) const;
};
}
}
#endif