aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mesonprojectmanager/projecttree.h
blob: 2335fb65a0d5c86298160920e7541c6cb90ee0a3 (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
// Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include "mesoninfoparser.h"
#include "mesonprojectnodes.h"

#include <utils/fileutils.h>

namespace MesonProjectManager {
namespace Internal {

class ProjectTree
{
public:
    ProjectTree();
    static std::unique_ptr<MesonProjectNode> buildTree(const Utils::FilePath &srcDir,
                                                       const TargetsList &targets,
                                                       const Utils::FilePaths &bsFiles);
};

} // namespace Internal
} // namespace MesonProjectManager