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-08-13 11:15:27 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <projectexplorer/project.h>
|
2019-10-25 09:55:32 +02:00
|
|
|
|
2024-07-19 15:23:43 +02:00
|
|
|
namespace ProjectExplorer { class Kit; }
|
2018-10-30 10:31:34 +01:00
|
|
|
|
2023-10-19 10:42:45 +02:00
|
|
|
namespace CompilationDatabaseProjectManager::Internal {
|
|
|
|
|
|
2024-07-19 15:23:43 +02:00
|
|
|
class CompilationDatabaseProject final : public ProjectExplorer::Project
|
2018-08-13 11:15:27 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2019-05-28 13:49:26 +02:00
|
|
|
explicit CompilationDatabaseProject(const Utils::FilePath &filename);
|
2020-01-07 16:25:09 +01:00
|
|
|
Utils::FilePath rootPathFromSettings() const;
|
2020-03-04 13:43:38 +01:00
|
|
|
|
|
|
|
|
private:
|
2024-07-19 15:23:43 +02:00
|
|
|
void configureAsExampleProject(ProjectExplorer::Kit *kit) final;
|
2018-08-13 11:15:27 +02:00
|
|
|
};
|
|
|
|
|
|
2024-01-29 18:36:27 +01:00
|
|
|
void setupCompilationDatabaseEditor();
|
|
|
|
|
void setupCompilationDatabaseBuildConfiguration();
|
2019-04-18 10:18:44 +02:00
|
|
|
|
2023-10-19 10:42:45 +02:00
|
|
|
} // CompilationDatabaseProjectManager::Internal
|