blob: 653234a889c61c90151ba274935f60fcfb03ec58 (
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
36
37
|
// Copyright (C) 2018 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 CMakeProjectManager::Internal {
class CMakeSpecificSettings final : public Utils::AspectContainer
{
ProjectExplorer::Project *project{nullptr};
public:
CMakeSpecificSettings(ProjectExplorer::Project *project, bool autoApply);
void readSettings() final;
void writeSettings() const final;
Utils::BoolAspect autorunCMake{this};
Utils::FilePathAspect ninjaPath{this};
Utils::BoolAspect packageManagerAutoSetup{this};
Utils::BoolAspect askBeforeReConfigureInitialParams{this};
Utils::BoolAspect askBeforePresetsReload{this};
Utils::BoolAspect showSourceSubFolders{this};
Utils::BoolAspect showAdvancedOptionsByDefault{this};
Utils::BoolAspect useJunctionsForSourceAndBuildDirectories{this};
bool useGlobalSettings{true};
};
CMakeSpecificSettings &settings(ProjectExplorer::Project *project);
} // CMakeProjectManager::Internal
|