Nim: Introduce a NimBuildSystem

Change-Id: Ib9bdf52939c88f01fe861308d0c08b5c69efa624
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Tobias Hunger
2019-08-19 12:31:25 +02:00
parent fb21b78444
commit 67349baded
12 changed files with 304 additions and 162 deletions

View File

@@ -31,12 +31,12 @@ namespace Utils { class FilePath; }
namespace Nim {
class NimProject;
class NimBuildSystem;
class NimProjectNode : public ProjectExplorer::ProjectNode
{
public:
NimProjectNode(NimProject &project, const Utils::FilePath &projectFilePath);
NimProjectNode(const Utils::FilePath &projectFilePath);
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
bool addFiles(const QStringList &filePaths, QStringList *) override;
@@ -46,7 +46,7 @@ public:
bool renameFile(const QString &filePath, const QString &newFilePath) override;
private:
NimProject &m_project;
NimBuildSystem *buildSystem() const;
};
}