2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2018 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2018-03-10 18:45:06 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
2020-04-17 15:30:05 +02:00
|
|
|
|
2021-03-23 15:58:16 +01:00
|
|
|
#include <coreplugin/dialogs/ioptionspage.h>
|
2020-04-17 15:30:05 +02:00
|
|
|
|
2021-03-23 15:58:16 +01:00
|
|
|
#include <utils/aspects.h>
|
2018-03-10 18:45:06 +01:00
|
|
|
|
2022-09-29 15:26:31 +02:00
|
|
|
namespace CMakeProjectManager::Internal {
|
2018-03-10 18:45:06 +01:00
|
|
|
|
2021-03-26 16:54:40 +01:00
|
|
|
class CMakeSpecificSettings final : public Utils::AspectContainer
|
2018-03-10 18:45:06 +01:00
|
|
|
{
|
|
|
|
|
public:
|
2021-03-23 15:58:16 +01:00
|
|
|
CMakeSpecificSettings();
|
|
|
|
|
|
2023-01-20 09:10:23 +01:00
|
|
|
static CMakeSpecificSettings *instance();
|
|
|
|
|
|
2022-12-12 20:02:01 +01:00
|
|
|
Utils::BoolAspect autorunCMake;
|
2021-03-26 16:54:40 +01:00
|
|
|
Utils::StringAspect ninjaPath;
|
|
|
|
|
Utils::BoolAspect packageManagerAutoSetup;
|
|
|
|
|
Utils::BoolAspect askBeforeReConfigureInitialParams;
|
2022-07-04 08:54:24 +02:00
|
|
|
Utils::BoolAspect showSourceSubFolders;
|
2022-11-30 01:10:44 +03:00
|
|
|
Utils::BoolAspect showAdvancedOptionsByDefault;
|
2021-03-23 15:58:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class CMakeSpecificSettingsPage final : public Core::IOptionsPage
|
|
|
|
|
{
|
|
|
|
|
public:
|
2023-01-20 09:10:23 +01:00
|
|
|
CMakeSpecificSettingsPage();
|
2018-03-10 18:45:06 +01:00
|
|
|
};
|
|
|
|
|
|
2022-09-29 15:26:31 +02:00
|
|
|
} // CMakeProjectManager::Internal
|