blob: 5a3bb09c77b19c868ad5f06140756df460efd0f2 (
plain)
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
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/aspects.h>
namespace ProjectExplorer {
class Project;
}
namespace Vcpkg::Internal {
class VcpkgSettings : public Utils::AspectContainer
{
public:
VcpkgSettings(ProjectExplorer::Project *project, bool autoApply);
void readSettings() final;
void writeSettings() const final;
void setVcpkgRootEnvironmentVariable();
Utils::FilePathAspect vcpkgRoot{this};
bool useGlobalSettings{true};
private:
ProjectExplorer::Project *m_project{nullptr};
};
VcpkgSettings *settings(ProjectExplorer::Project *project);
} // Vcpkg::Internal
|