Files
qt-creator/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.h
hjk f2505ee90a CompilationDataBase: Hide build system definition in .cpp
Change-Id: I49fe7eae6bc323c4d618a463d701021591f4d15d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-07-19 14:08:51 +00:00

28 lines
733 B
C++

// 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 <projectexplorer/project.h>
namespace ProjectExplorer { class Kit; }
namespace CompilationDatabaseProjectManager::Internal {
class CompilationDatabaseProject final : public ProjectExplorer::Project
{
Q_OBJECT
public:
explicit CompilationDatabaseProject(const Utils::FilePath &filename);
Utils::FilePath rootPathFromSettings() const;
private:
void configureAsExampleProject(ProjectExplorer::Kit *kit) final;
};
void setupCompilationDatabaseEditor();
void setupCompilationDatabaseBuildConfiguration();
} // CompilationDatabaseProjectManager::Internal