-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathVCConfiguration.h
More file actions
41 lines (32 loc) · 1.05 KB
/
VCConfiguration.h
File metadata and controls
41 lines (32 loc) · 1.05 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
#pragma once
#include "ProjectFile.h"
#include <string>
#include <vector>
class Project;
class SPM_DLLEXPORT VCConfiguration : public PlatformConfigurationProperties, public ReflectClassT<VCConfiguration>
{
public:
Project* project;
pugi::xml_node idgConfNode;
pugi::xml_node pgNode;
pugi::xml_node pgConfigurationNode;
VCConfiguration() :
project(nullptr)
{
// Define configuration "category" (will be used when serializing / restoring)
Linker.propertyName = "Link";
CCpp.propertyName = "ClCompile";
ReflectConnectChildren(nullptr);
}
virtual void OnAfterSetProperty(ReflectPath& path);
//
// Individual tools settings, depending on project type (static library, dynamic library) individual tool configuration is not necessarily used.
//
REFLECTABLE(VCConfiguration,
(GeneralConf)General,
(CCppConf)CCpp,
(LinkerConf)Linker
);
};
void ReflectCopy(ReflectPath& path, pugi::xml_node toNode);
void ReflectCopyValue(ReflectPath& path, pugi::xml_node node);