Files
qt-creator/src/plugins/cmakeprojectmanager/cmakespecificsettings.h

39 lines
982 B
C
Raw Normal View History

// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/aspects.h>
namespace CMakeProjectManager::Internal {
enum AfterAddFileAction : int {
AskUser,
CopyFilePath,
NeverCopyFilePath
};
class CMakeSpecificSettings final : public Utils::AspectContainer
{
public:
CMakeSpecificSettings();
Utils::BoolAspect autorunCMake;
Utils::SelectionAspect afterAddFileSetting;
Utils::StringAspect ninjaPath;
Utils::BoolAspect packageManagerAutoSetup;
Utils::BoolAspect askBeforeReConfigureInitialParams;
Utils::BoolAspect showSourceSubFolders;
Utils::BoolAspect showAdvancedOptionsByDefault;
};
class CMakeSpecificSettingsPage final : public Core::IOptionsPage
{
public:
explicit CMakeSpecificSettingsPage(CMakeSpecificSettings *settings);
};
} // CMakeProjectManager::Internal