forked from qt-creator/qt-creator
This change pushes the hard-coded list a bit towards a "data-driven" approach. That way, the planned switch to the .json files based apporach (see UL-2012) becomes less of a change. Some target entries are added to match the current target list in Qt for MCUs packages. If we don't manage to get the .json-based target listing in place, this could even serve as fall-back. Task-number: UL-2012 Change-Id: If39e5d581ac19468b6f52ed221ec2d39bfab9f80 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
46 lines
1.7 KiB
C++
46 lines
1.7 KiB
C++
/****************************************************************************
|
|
**
|
|
** Copyright (C) 2016 BlackBerry Limited. All rights reserved.
|
|
** Contact: BlackBerry (qt@blackberry.com)
|
|
**
|
|
** This file is part of Qt Creator.
|
|
**
|
|
** Commercial License Usage
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
** accordance with the commercial license agreement provided with the
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
**
|
|
** GNU General Public License Usage
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
** General Public License version 3 as published by the Free Software
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
** included in the packaging of this file. Please review the following
|
|
** information to ensure the GNU General Public License requirements will
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
|
**
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <QVector>
|
|
|
|
namespace McuSupport {
|
|
namespace Internal {
|
|
class McuPackage;
|
|
class McuToolChainPackage;
|
|
class McuTarget;
|
|
namespace Sdk {
|
|
|
|
McuPackage *createQtForMCUsPackage();
|
|
|
|
// Legacy: List of targets supported by Qt for MCUs 1.0
|
|
void hardcodedTargetsAndPackages(const Utils::FilePath &qulDir,
|
|
QVector<McuPackage*> *packages, QVector<McuTarget*> *mcuTargets);
|
|
|
|
} // namespace Sdk
|
|
} // namespace Internal
|
|
} // namespace McuSupport
|