Meson: Flatten directory hierarchy

Keep tests/ and icons/ but put the rest into the toplevel.

The previous setup was so different from the rest of the bunch that
it regularly stuck out in maintenance tasks.

Change-Id: I69821be6268f69682353a388f6bb1fa343215303
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2022-10-06 16:58:18 +02:00
parent 7c0c57fef9
commit 5e786d444d
81 changed files with 260 additions and 261 deletions

View File

@@ -6,80 +6,80 @@ add_qtc_plugin(MesonProjectManager
mesonprojectplugin.cpp mesonprojectplugin.cpp
mesonprojectplugin.h mesonprojectplugin.h
versionhelper.h versionhelper.h
mesonactionsmanager/mesonactionsmanager.h mesonactionsmanager.h
mesonactionsmanager/mesonactionsmanager.cpp mesonactionsmanager.cpp
settings/tools/toolsmodel.cpp toolsmodel.cpp
settings/tools/toolssettingswidget.h toolssettingswidget.h
settings/tools/toolssettingswidget.cpp toolssettingswidget.cpp
settings/tools/toolssettingspage.cpp toolssettingspage.cpp
settings/tools/toolssettingspage.h toolssettingspage.h
settings/tools/toolitemsettings.cpp toolitemsettings.cpp
settings/tools/toolitemsettings.h toolitemsettings.h
settings/tools/tooltreeitem.cpp tooltreeitem.cpp
settings/tools/tooltreeitem.h tooltreeitem.h
settings/tools/toolsmodel.h toolsmodel.h
settings/tools/kitaspect/ninjatoolkitaspect.cpp ninjatoolkitaspect.cpp
settings/tools/kitaspect/ninjatoolkitaspect.h ninjatoolkitaspect.h
settings/tools/kitaspect/toolkitaspectwidget.h toolkitaspectwidget.h
settings/tools/kitaspect/toolkitaspectwidget.cpp toolkitaspectwidget.cpp
settings/tools/kitaspect/mesontoolkitaspect.cpp mesontoolkitaspect.cpp
settings/tools/kitaspect/mesontoolkitaspect.h mesontoolkitaspect.h
settings/tools/toolssettingsaccessor.h toolssettingsaccessor.h
settings/tools/toolssettingsaccessor.cpp toolssettingsaccessor.cpp
settings/general/settings.h settings.h
settings/general/settings.cpp settings.cpp
exewrappers/mesonwrapper.cpp mesonwrapper.cpp
exewrappers/mesonwrapper.h mesonwrapper.h
exewrappers/ninjawrapper.h ninjawrapper.h
exewrappers/toolwrapper.h toolwrapper.h
exewrappers/toolwrapper.cpp toolwrapper.cpp
exewrappers/mesontools.h mesontools.h
exewrappers/mesontools.cpp mesontools.cpp
mesoninfoparser/mesoninfoparser.h mesoninfoparser.h
mesoninfoparser/buildoptions.h buildoptions.h
mesoninfoparser/target.h target.h
mesoninfoparser/mesoninfo.h mesoninfo.h
mesoninfoparser/parsers/common.h common.h
mesoninfoparser/parsers/buildoptionsparser.h buildoptionsparser.h
mesoninfoparser/parsers/buildsystemfilesparser.h buildsystemfilesparser.h
mesoninfoparser/parsers/infoparser.h infoparser.h
mesoninfoparser/parsers/targetparser.h targetparser.h
kithelper/kitdata.h kitdata.h
kithelper/kithelper.h kithelper.h
project/mesonproject.h mesonproject.h
project/mesonproject.cpp mesonproject.cpp
project/mesonprojectimporter.h mesonprojectimporter.h
project/mesonprojectimporter.cpp mesonprojectimporter.cpp
project/mesonbuildsystem.h mesonbuildsystem.h
project/mesonbuildsystem.cpp mesonbuildsystem.cpp
project/mesonprojectparser.h mesonprojectparser.h
project/mesonprojectparser.cpp mesonprojectparser.cpp
project/mesonbuildconfiguration.h mesonbuildconfiguration.h
project/mesonbuildconfiguration.cpp mesonbuildconfiguration.cpp
project/ninjabuildstep.h ninjabuildstep.h
project/ninjabuildstep.cpp ninjabuildstep.cpp
project/buildoptions/mesonbuildsettingswidget.h mesonbuildsettingswidget.h
project/buildoptions/mesonbuildsettingswidget.cpp mesonbuildsettingswidget.cpp
project/buildoptions/optionsmodel/buildoptionsmodel.h buildoptionsmodel.h
project/buildoptions/optionsmodel/buildoptionsmodel.cpp buildoptionsmodel.cpp
project/buildoptions/optionsmodel/arrayoptionlineedit.cpp arrayoptionlineedit.cpp
project/buildoptions/optionsmodel/arrayoptionlineedit.h arrayoptionlineedit.h
project/mesonprocess.h mesonprocess.h
project/mesonprocess.cpp mesonprocess.cpp
project/outputparsers/mesonoutputparser.h mesonoutputparser.h
project/outputparsers/mesonoutputparser.cpp mesonoutputparser.cpp
project/outputparsers/ninjaparser.h ninjaparser.h
project/outputparsers/ninjaparser.cpp ninjaparser.cpp
project/mesonrunconfiguration.h mesonrunconfiguration.h
project/mesonrunconfiguration.cpp mesonrunconfiguration.cpp
project/projecttree/projecttree.h projecttree.h
project/projecttree/projecttree.cpp projecttree.cpp
project/projecttree/mesonprojectnodes.h mesonprojectnodes.h
project/projecttree/mesonprojectnodes.cpp mesonprojectnodes.cpp
machinefiles/machinefilemanager.h machinefilemanager.h
machinefiles/machinefilemanager.cpp machinefilemanager.cpp
machinefiles/nativefilegenerator.h nativefilegenerator.h
machinefiles/nativefilegenerator.cpp nativefilegenerator.cpp
resources_meson.qrc resources_meson.qrc
) )
@@ -100,12 +100,12 @@ add_qtc_test(tst_mesonwrapper
TEST_RELATIVE_LIBEXEC_PATH="${TEST_RELATIVE_LIBEXEC_PATH}" TEST_RELATIVE_LIBEXEC_PATH="${TEST_RELATIVE_LIBEXEC_PATH}"
SOURCES SOURCES
tests/testmesonwrapper.cpp tests/testmesonwrapper.cpp
exewrappers/mesonwrapper.cpp mesonwrapper.cpp
exewrappers/mesonwrapper.h mesonwrapper.h
exewrappers/ninjawrapper.h ninjawrapper.h
exewrappers/toolwrapper.h toolwrapper.h
exewrappers/toolwrapper.cpp toolwrapper.cpp
exewrappers/mesontools.h mesontools.h
) )
add_qtc_test(tst_mesoninfoparser add_qtc_test(tst_mesoninfoparser
@@ -121,13 +121,13 @@ add_qtc_test(tst_mesoninfoparser
TEST_RELATIVE_LIBEXEC_PATH="${TEST_RELATIVE_LIBEXEC_PATH}" TEST_RELATIVE_LIBEXEC_PATH="${TEST_RELATIVE_LIBEXEC_PATH}"
SOURCES SOURCES
tests/testmesoninfoparser.cpp tests/testmesoninfoparser.cpp
exewrappers/mesonwrapper.cpp mesonwrapper.cpp
exewrappers/mesonwrapper.h mesonwrapper.h
exewrappers/ninjawrapper.h ninjawrapper.h
exewrappers/toolwrapper.h toolwrapper.h
exewrappers/toolwrapper.cpp toolwrapper.cpp
exewrappers/mesontools.h mesontools.h
mesoninfoparser/mesoninfoparser.h mesoninfoparser.h
) )
add_qtc_test(tst_ninjaparser add_qtc_test(tst_ninjaparser
@@ -138,7 +138,7 @@ add_qtc_test(tst_ninjaparser
Utils ProjectExplorer Utils ProjectExplorer
SOURCES SOURCES
tests/testninjaparser.cpp tests/testninjaparser.cpp
project/outputparsers/ninjaparser.cpp ninjaparser.cpp
) )
add_qtc_test(tst_mesonparser add_qtc_test(tst_mesonparser
@@ -151,7 +151,7 @@ add_qtc_test(tst_mesonparser
Utils ProjectExplorer Utils ProjectExplorer
SOURCES SOURCES
tests/testmesonparser.cpp tests/testmesonparser.cpp
project/outputparsers/mesonoutputparser.cpp mesonoutputparser.cpp
) )

View File

@@ -4,6 +4,7 @@
#include "buildoptionsmodel.h" #include "buildoptionsmodel.h"
#include "arrayoptionlineedit.h" #include "arrayoptionlineedit.h"
#include "mesonprojectmanagertr.h"
#include <QComboBox> #include <QComboBox>
#include <QLabel> #include <QLabel>
@@ -27,7 +28,7 @@ inline Utils::TreeItem *makeBuildOptionTreeItem(CancellableOption *buildOption)
BuidOptionsModel::BuidOptionsModel(QObject *parent) BuidOptionsModel::BuidOptionsModel(QObject *parent)
: Utils::TreeModel<>(parent) : Utils::TreeModel<>(parent)
{ {
setHeader({tr("Key"), tr("Value")}); setHeader({Tr::tr("Key"), Tr::tr("Value")});
} }
inline void groupPerSubprojectAndSection( inline void groupPerSubprojectAndSection(

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "mesoninfoparser/mesoninfoparser.h" #include "mesoninfoparser.h"
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <utils/treemodel.h> #include <utils/treemodel.h>

View File

@@ -3,9 +3,9 @@
#pragma once #pragma once
#include "../../mesonpluginconstants.h" #include "buildoptions.h"
#include "../buildoptions.h"
#include "common.h" #include "common.h"
#include "mesonpluginconstants.h"
#include <QFile> #include <QFile>
#include <QJsonArray> #include <QJsonArray>

View File

@@ -3,8 +3,8 @@
#pragma once #pragma once
#include "../../mesonpluginconstants.h"
#include "common.h" #include "common.h"
#include "mesonpluginconstants.h"
#include <utils/fileutils.h> #include <utils/fileutils.h>

View File

@@ -3,8 +3,8 @@
#pragma once #pragma once
#include "../../mesonpluginconstants.h" #include "mesoninfo.h"
#include "../mesoninfo.h" #include "mesonpluginconstants.h"
#include <QFile> #include <QFile>
#include <QJsonArray> #include <QJsonArray>

View File

@@ -3,8 +3,8 @@
#include "machinefilemanager.h" #include "machinefilemanager.h"
#include "kithelper/kitdata.h" #include "kitdata.h"
#include "kithelper/kithelper.h" #include "kithelper.h"
#include "nativefilegenerator.h" #include "nativefilegenerator.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>

View File

@@ -3,13 +3,14 @@
#include "mesonactionsmanager.h" #include "mesonactionsmanager.h"
#include "mesonbuildsystem.h"
#include "mesonprojectmanagertr.h"
#include "mesonprojectnodes.h"
#include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/coreconstants.h> #include <coreplugin/coreconstants.h>
#include <project/mesonbuildsystem.h>
#include <project/projecttree/mesonprojectnodes.h>
#include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projecttree.h> #include <projectexplorer/projecttree.h>
@@ -20,8 +21,8 @@ namespace MesonProjectManager {
namespace Internal { namespace Internal {
MesonActionsManager::MesonActionsManager() MesonActionsManager::MesonActionsManager()
: configureActionMenu(tr("Configure")) : configureActionMenu(Tr::tr("Configure"))
, configureActionContextMenu(tr("Configure")) , configureActionContextMenu(Tr::tr("Configure"))
{ {
const Core::Context globalContext(Core::Constants::C_GLOBAL); const Core::Context globalContext(Core::Constants::C_GLOBAL);
const Core::Context projectContext{Constants::Project::ID}; const Core::Context projectContext{Constants::Project::ID};

View File

@@ -3,11 +3,11 @@
#include "mesonbuildconfiguration.h" #include "mesonbuildconfiguration.h"
#include "buildoptions/mesonbuildsettingswidget.h" #include "mesonbuildsettingswidget.h"
#include "exewrappers/mesonwrapper.h"
#include "mesonbuildsystem.h" #include "mesonbuildsystem.h"
#include "mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "mesonwrapper.h"
#include "ninjabuildstep.h" #include "ninjabuildstep.h"
#include <projectexplorer/buildinfo.h> #include <projectexplorer/buildinfo.h>

View File

@@ -4,8 +4,6 @@
#include "projectexplorer/buildconfiguration.h" #include "projectexplorer/buildconfiguration.h"
#include "projectexplorer/target.h" #include "projectexplorer/target.h"
#include "utils/fileutils.h"
#include <QString>
namespace MesonProjectManager { namespace MesonProjectManager {
namespace Internal { namespace Internal {

View File

@@ -3,8 +3,8 @@
#include "mesonbuildsettingswidget.h" #include "mesonbuildsettingswidget.h"
#include "../mesonbuildconfiguration.h" #include "mesonbuildconfiguration.h"
#include "../mesonbuildsystem.h" #include "mesonbuildsystem.h"
#include <coreplugin/find/itemviewfind.h> #include <coreplugin/find/itemviewfind.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "optionsmodel/buildoptionsmodel.h" #include "buildoptionsmodel.h"
#include <projectexplorer/namedwidget.h> #include <projectexplorer/namedwidget.h>

View File

@@ -3,11 +3,11 @@
#include "mesonbuildsystem.h" #include "mesonbuildsystem.h"
#include "kithelper.h"
#include "machinefilemanager.h"
#include "mesonbuildconfiguration.h" #include "mesonbuildconfiguration.h"
#include "kithelper/kithelper.h" #include "mesontoolkitaspect.h"
#include "machinefiles/machinefilemanager.h" #include "settings.h"
#include "settings/general/settings.h"
#include "settings/tools/kitaspect/mesontoolkitaspect.h"
#include <projectexplorer/buildconfiguration.h> #include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/taskhub.h> #include <projectexplorer/taskhub.h>

View File

@@ -4,8 +4,7 @@
#pragma once #pragma once
#include "mesonprojectparser.h" #include "mesonprojectparser.h"
#include "exewrappers/mesonwrapper.h" #include "kitdata.h"
#include "kithelper/kitdata.h"
#include <cppeditor/cppprojectupdater.h> #include <cppeditor/cppprojectupdater.h>

View File

@@ -4,12 +4,12 @@
#pragma once #pragma once
#include "buildoptions.h" #include "buildoptions.h"
#include "buildoptionsparser.h"
#include "buildsystemfilesparser.h"
#include "infoparser.h"
#include "mesoninfo.h" #include "mesoninfo.h"
#include "parsers/buildoptionsparser.h"
#include "parsers/buildsystemfilesparser.h"
#include "parsers/infoparser.h"
#include "parsers/targetparser.h"
#include "target.h" #include "target.h"
#include "targetparser.h"
#include <utils/fileutils.h> #include <utils/fileutils.h>

View File

@@ -3,7 +3,7 @@
#include "mesonprocess.h" #include "mesonprocess.h"
#include "outputparsers/mesonoutputparser.h" #include "mesonoutputparser.h"
#include <coreplugin/messagemanager.h> #include <coreplugin/messagemanager.h>
#include <coreplugin/progressmanager/progressmanager.h> #include <coreplugin/progressmanager/progressmanager.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "exewrappers/mesonwrapper.h" #include "mesonwrapper.h"
#include <QByteArray> #include <QByteArray>
#include <QElapsedTimer> #include <QElapsedTimer>

View File

@@ -4,8 +4,8 @@
#include "mesonproject.h" #include "mesonproject.h"
#include "mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "settings/tools/kitaspect/mesontoolkitaspect.h" #include "mesontoolkitaspect.h"
#include "settings/tools/kitaspect/ninjatoolkitaspect.h" #include "ninjatoolkitaspect.h"
#include <coreplugin/icontext.h> #include <coreplugin/icontext.h>

View File

@@ -20,84 +20,84 @@ Project {
cpp.includePaths: "." cpp.includePaths: "."
files: [ files: [
"exewrappers/mesontools.cpp", "mesontools.cpp",
"exewrappers/mesontools.h", "mesontools.h",
"exewrappers/mesonwrapper.cpp", "mesonwrapper.cpp",
"exewrappers/mesonwrapper.h", "mesonwrapper.h",
"exewrappers/ninjawrapper.h", "ninjawrapper.h",
"exewrappers/toolwrapper.cpp", "toolwrapper.cpp",
"exewrappers/toolwrapper.h", "toolwrapper.h",
"kithelper/kitdata.h", "kitdata.h",
"kithelper/kithelper.h", "kithelper.h",
"machinefiles/machinefilemanager.cpp", "machinefilemanager.cpp",
"machinefiles/machinefilemanager.h", "machinefilemanager.h",
"machinefiles/nativefilegenerator.cpp", "nativefilegenerator.cpp",
"machinefiles/nativefilegenerator.h", "nativefilegenerator.h",
"mesonactionsmanager/mesonactionsmanager.cpp", "mesonactionsmanager.cpp",
"mesonactionsmanager/mesonactionsmanager.h", "mesonactionsmanager.h",
"mesoninfoparser/buildoptions.h", "buildoptions.h",
"mesoninfoparser/mesoninfo.h", "mesoninfo.h",
"mesoninfoparser/mesoninfoparser.h", "mesoninfoparser.h",
"mesoninfoparser/parsers/buildoptionsparser.h", "buildoptionsparser.h",
"mesoninfoparser/parsers/buildsystemfilesparser.h", "buildsystemfilesparser.h",
"mesoninfoparser/parsers/common.h", "common.h",
"mesoninfoparser/parsers/infoparser.h", "infoparser.h",
"mesoninfoparser/parsers/targetparser.h", "targetparser.h",
"mesoninfoparser/target.h", "target.h",
"mesonpluginconstants.h", "mesonpluginconstants.h",
"mesonprojectplugin.cpp", "mesonprojectplugin.cpp",
"mesonprojectplugin.h", "mesonprojectplugin.h",
"project/buildoptions/mesonbuildsettingswidget.cpp", "mesonbuildsettingswidget.cpp",
"project/buildoptions/mesonbuildsettingswidget.h", "mesonbuildsettingswidget.h",
"project/buildoptions/optionsmodel/arrayoptionlineedit.cpp", "arrayoptionlineedit.cpp",
"project/buildoptions/optionsmodel/arrayoptionlineedit.h", "arrayoptionlineedit.h",
"project/buildoptions/optionsmodel/buildoptionsmodel.cpp", "buildoptionsmodel.cpp",
"project/buildoptions/optionsmodel/buildoptionsmodel.h", "buildoptionsmodel.h",
"project/mesonbuildconfiguration.cpp", "mesonbuildconfiguration.cpp",
"project/mesonbuildconfiguration.h", "mesonbuildconfiguration.h",
"project/mesonbuildsystem.cpp", "mesonbuildsystem.cpp",
"project/mesonbuildsystem.h", "mesonbuildsystem.h",
"project/mesonprocess.cpp", "mesonprocess.cpp",
"project/mesonprocess.h", "mesonprocess.h",
"project/mesonproject.cpp", "mesonproject.cpp",
"project/mesonproject.h", "mesonproject.h",
"project/mesonprojectimporter.cpp", "mesonprojectimporter.cpp",
"project/mesonprojectimporter.h", "mesonprojectimporter.h",
"project/mesonprojectparser.cpp", "mesonprojectparser.cpp",
"project/mesonprojectparser.h", "mesonprojectparser.h",
"project/mesonrunconfiguration.cpp", "mesonrunconfiguration.cpp",
"project/mesonrunconfiguration.h", "mesonrunconfiguration.h",
"project/ninjabuildstep.cpp", "ninjabuildstep.cpp",
"project/ninjabuildstep.h", "ninjabuildstep.h",
"project/outputparsers/mesonoutputparser.cpp", "mesonoutputparser.cpp",
"project/outputparsers/mesonoutputparser.h", "mesonoutputparser.h",
"project/outputparsers/ninjaparser.cpp", "ninjaparser.cpp",
"project/outputparsers/ninjaparser.h", "ninjaparser.h",
"project/projecttree/mesonprojectnodes.cpp", "mesonprojectnodes.cpp",
"project/projecttree/mesonprojectnodes.h", "mesonprojectnodes.h",
"project/projecttree/projecttree.cpp", "projecttree.cpp",
"project/projecttree/projecttree.h", "projecttree.h",
"resources_meson.qrc", "resources_meson.qrc",
"settings/general/settings.cpp", "settings.cpp",
"settings/general/settings.h", "settings.h",
"settings/tools/kitaspect/mesontoolkitaspect.cpp", "mesontoolkitaspect.cpp",
"settings/tools/kitaspect/mesontoolkitaspect.h", "mesontoolkitaspect.h",
"settings/tools/kitaspect/ninjatoolkitaspect.cpp", "ninjatoolkitaspect.cpp",
"settings/tools/kitaspect/ninjatoolkitaspect.h", "ninjatoolkitaspect.h",
"settings/tools/kitaspect/toolkitaspectwidget.cpp", "toolkitaspectwidget.cpp",
"settings/tools/kitaspect/toolkitaspectwidget.h", "toolkitaspectwidget.h",
"settings/tools/toolitemsettings.cpp", "toolitemsettings.cpp",
"settings/tools/toolitemsettings.h", "toolitemsettings.h",
"settings/tools/toolsmodel.cpp", "toolsmodel.cpp",
"settings/tools/toolsmodel.h", "toolsmodel.h",
"settings/tools/toolssettingsaccessor.cpp", "toolssettingsaccessor.cpp",
"settings/tools/toolssettingsaccessor.h", "toolssettingsaccessor.h",
"settings/tools/toolssettingspage.cpp", "toolssettingspage.cpp",
"settings/tools/toolssettingspage.h", "toolssettingspage.h",
"settings/tools/toolssettingswidget.cpp", "toolssettingswidget.cpp",
"settings/tools/toolssettingswidget.h", "toolssettingswidget.h",
"settings/tools/tooltreeitem.cpp", "tooltreeitem.cpp",
"settings/tools/tooltreeitem.h", "tooltreeitem.h",
"versionhelper.h", "versionhelper.h",
] ]
} }
@@ -113,12 +113,12 @@ Project {
cpp.includePaths: "." cpp.includePaths: "."
files: [ files: [
"exewrappers/mesonwrapper.cpp", "mesonwrapper.cpp",
"exewrappers/mesonwrapper.h", "mesonwrapper.h",
"exewrappers/ninjawrapper.h", "ninjawrapper.h",
"exewrappers/toolwrapper.h", "toolwrapper.h",
"exewrappers/toolwrapper.cpp", "toolwrapper.cpp",
"exewrappers/mesontools.h", "mesontools.h",
"tests/testmesonwrapper.cpp", "tests/testmesonwrapper.cpp",
] ]
} }
@@ -134,13 +134,13 @@ Project {
cpp.includePaths: "." cpp.includePaths: "."
files: [ files: [
"exewrappers/mesonwrapper.cpp", "mesonwrapper.cpp",
"exewrappers/mesonwrapper.h", "mesonwrapper.h",
"exewrappers/ninjawrapper.h", "ninjawrapper.h",
"exewrappers/toolwrapper.h", "toolwrapper.h",
"exewrappers/toolwrapper.cpp", "toolwrapper.cpp",
"exewrappers/mesontools.h", "mesontools.h",
"mesoninfoparser/mesoninfoparser.h", "mesoninfoparser.h",
"tests/testmesoninfoparser.cpp", "tests/testmesoninfoparser.cpp",
] ]
} }
@@ -156,9 +156,9 @@ Project {
cpp.includePaths: "." cpp.includePaths: "."
files: [ files: [
"project/outputparsers/ninjaparser.cpp", "ninjaparser.cpp",
"project/outputparsers/ninjaparser.h", "ninjaparser.h",
"mesoninfoparser/mesoninfoparser.h", "mesoninfoparser.h",
"tests/testninjaparser.cpp", "tests/testninjaparser.cpp",
] ]
} }
@@ -175,8 +175,8 @@ Project {
cpp.includePaths: "." cpp.includePaths: "."
files: [ files: [
"project/outputparsers/mesonoutputparser.h", "mesonoutputparser.h",
"project/outputparsers/mesonoutputparser.cpp", "mesonoutputparser.cpp",
"tests/testmesonparser.cpp", "tests/testmesonparser.cpp",
] ]
} }

View File

@@ -3,8 +3,8 @@
#include "mesonprojectnodes.h" #include "mesonprojectnodes.h"
#include "project/mesonbuildconfiguration.h" #include "mesonbuildconfiguration.h"
#include "project/mesonbuildsystem.h" #include "mesonbuildsystem.h"
#include "mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include <projectexplorer/project.h> #include <projectexplorer/project.h>

View File

@@ -3,10 +3,10 @@
#include "mesonprojectparser.h" #include "mesonprojectparser.h"
#include "projecttree/mesonprojectnodes.h" #include "mesoninfoparser.h"
#include "projecttree/projecttree.h" #include "mesonprojectnodes.h"
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include "mesoninfoparser/mesoninfoparser.h" #include "projecttree.h"
#include <coreplugin/messagemanager.h> #include <coreplugin/messagemanager.h>

View File

@@ -3,12 +3,12 @@
#pragma once #pragma once
#include "exewrappers/mesonwrapper.h" #include "kitdata.h"
#include "kithelper/kitdata.h" #include "mesoninfoparser.h"
#include "mesoninfoparser/mesoninfoparser.h" #include "mesonoutputparser.h"
#include "mesonprocess.h" #include "mesonprocess.h"
#include "outputparsers/mesonoutputparser.h" #include "mesonprojectnodes.h"
#include "projecttree/mesonprojectnodes.h" #include "mesonwrapper.h"
#include <projectexplorer/buildsystem.h> #include <projectexplorer/buildsystem.h>
#include <projectexplorer/kit.h> #include <projectexplorer/kit.h>

View File

@@ -3,17 +3,17 @@
#include "mesonprojectplugin.h" #include "mesonprojectplugin.h"
#include "machinefiles/machinefilemanager.h" #include "machinefilemanager.h"
#include "mesonactionsmanager/mesonactionsmanager.h" #include "mesonactionsmanager.h"
#include "project/mesonbuildconfiguration.h" #include "mesonbuildconfiguration.h"
#include "project/mesonproject.h" #include "mesonproject.h"
#include "project/mesonrunconfiguration.h" #include "mesonrunconfiguration.h"
#include "project/ninjabuildstep.h" #include "mesontoolkitaspect.h"
#include "settings/general/settings.h" #include "ninjabuildstep.h"
#include "settings/tools/kitaspect/mesontoolkitaspect.h" #include "ninjatoolkitaspect.h"
#include "settings/tools/kitaspect/ninjatoolkitaspect.h" #include "settings.h"
#include "settings/tools/toolssettingsaccessor.h" #include "toolssettingsaccessor.h"
#include "settings/tools/toolssettingspage.h" #include "toolssettingspage.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include <projectexplorer/kit.h> #include <projectexplorer/kit.h>
#include <projectexplorer/kitmanager.h> #include <projectexplorer/kitmanager.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "../mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "toolwrapper.h" #include "toolwrapper.h"
#include <utils/environment.h> #include <utils/environment.h>

View File

@@ -3,7 +3,7 @@
#include "nativefilegenerator.h" #include "nativefilegenerator.h"
#include "kithelper/kithelper.h" #include "kithelper.h"
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitmanager.h> #include <projectexplorer/kitmanager.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "kithelper/kitdata.h" #include "kitdata.h"
#include <projectexplorer/kit.h> #include <projectexplorer/kit.h>

View File

@@ -6,9 +6,9 @@
#include "mesonbuildconfiguration.h" #include "mesonbuildconfiguration.h"
#include "mesonbuildsystem.h" #include "mesonbuildsystem.h"
#include "mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "outputparsers/mesonoutputparser.h" #include "mesonoutputparser.h"
#include "settings/general/settings.h" #include "ninjatoolkitaspect.h"
#include "settings/tools/kitaspect/ninjatoolkitaspect.h" #include "settings.h"
#include <coreplugin/find/itemviewfind.h> #include <coreplugin/find/itemviewfind.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "outputparsers/ninjaparser.h" #include "ninjaparser.h"
#include <projectexplorer/abstractprocessstep.h> #include <projectexplorer/abstractprocessstep.h>
#include <projectexplorer/buildstep.h> #include <projectexplorer/buildstep.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include <projectexplorer/kit.h> #include <projectexplorer/kit.h>
#include <projectexplorer/kitmanager.h> #include <projectexplorer/kitmanager.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "../mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "toolwrapper.h" #include "toolwrapper.h"
namespace MesonProjectManager { namespace MesonProjectManager {

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "mesoninfoparser/mesoninfoparser.h" #include "mesoninfoparser.h"
#include "mesonprojectnodes.h" #include "mesonprojectnodes.h"
#include <utils/fileutils.h> #include <utils/fileutils.h>

View File

@@ -3,8 +3,8 @@
#pragma once #pragma once
#include "../../mesonpluginconstants.h" #include "mesonpluginconstants.h"
#include "../target.h" #include "target.h"
#include <QFile> #include <QFile>
#include <QJsonArray> #include <QJsonArray>

View File

@@ -1,8 +1,8 @@
// Copyright (C) 2020 Alexis Jeandet. // Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "exewrappers/mesonwrapper.h" #include "mesonwrapper.h"
#include "mesoninfoparser/mesoninfoparser.h" #include "mesoninfoparser.h"
#include <utils/launcherinterface.h> #include <utils/launcherinterface.h>
#include <utils/singleton.h> #include <utils/singleton.h>

View File

@@ -1,7 +1,7 @@
// Copyright (C) 2020 Alexis Jeandet. // Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "project/outputparsers/mesonoutputparser.h" #include "../mesonoutputparser.h"
#include <projectexplorer/taskhub.h> #include <projectexplorer/taskhub.h>

View File

@@ -1,7 +1,7 @@
// Copyright (C) 2020 Alexis Jeandet. // Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "exewrappers/mesonwrapper.h" #include "../mesonwrapper.h"
#include <utils/launcherinterface.h> #include <utils/launcherinterface.h>
#include <utils/singleton.h> #include <utils/singleton.h>

View File

@@ -1,7 +1,7 @@
// Copyright (C) 2020 Alexis Jeandet. // Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "project/outputparsers/ninjaparser.h" #include "../ninjaparser.h"
#include <QDir> #include <QDir>
#include <QObject> #include <QObject>

View File

@@ -2,8 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once #pragma once
#include "exewrappers/mesonwrapper.h"
#include "mesontoolkitaspect.h" #include "mesontoolkitaspect.h"
#include "mesonwrapper.h"
#include "ninjatoolkitaspect.h" #include "ninjatoolkitaspect.h"
#include <projectexplorer/kitmanager.h> #include <projectexplorer/kitmanager.h>

View File

@@ -4,7 +4,7 @@
#include "toolsmodel.h" #include "toolsmodel.h"
#include "tooltreeitem.h" #include "tooltreeitem.h"
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include <utils/treemodel.h> #include <utils/treemodel.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include <utils/settingsaccessor.h> #include <utils/settingsaccessor.h>

View File

@@ -3,7 +3,7 @@
#pragma once #pragma once
#include "exewrappers/mesontools.h" #include "mesontools.h"
#include "toolssettingspage.h" #include "toolssettingspage.h"
#include <utils/fileutils.h> #include <utils/fileutils.h>