aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/qnxtoolchain.h
blob: 47a9a70643930957b4cb9fc40722b12cd27d96d5 (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
25
26
27
28
29
30
31
// Copyright (C) 2016 BlackBerry Limited. All rights reserved.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <projectexplorer/gcctoolchain.h>

namespace Qnx::Internal {

class QnxToolchain : public ProjectExplorer::GccToolchain
{
public:
    QnxToolchain();

    std::unique_ptr<ProjectExplorer::ToolchainConfigWidget> createConfigurationWidget() override;

    void addToEnvironment(Utils::Environment &env) const override;
    QStringList suggestedMkspecList() const override;

    Utils::FilePathAspect sdpPath{this};
    Utils::StringAspect cpuDir{this};

    bool operator ==(const Toolchain &) const override;

protected:
    DetectedAbisResult detectSupportedAbis() const override;
};

void setupQnxToolchain();

} // Qnx::Internal