aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakeconfigitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeconfigitem.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeconfigitem.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeconfigitem.h b/src/plugins/cmakeprojectmanager/cmakeconfigitem.h
index 15dae12a9c..10c7651f6f 100644
--- a/src/plugins/cmakeprojectmanager/cmakeconfigitem.h
+++ b/src/plugins/cmakeprojectmanager/cmakeconfigitem.h
@@ -30,16 +30,17 @@
#include <utils/optional.h>
#include <QByteArray>
-#include <QList>
+#include <QStringList>
-#include <functional>
-
-namespace ProjectExplorer { class Kit; }
namespace Utils {
class FilePath;
class MacroExpander;
} // namespace Utils
+namespace ProjectExplorer {
+class Kit;
+}
+
namespace CMakeProjectManager {
class CMAKE_EXPORT CMakeConfigItem {
@@ -63,6 +64,7 @@ public:
static std::function<bool(const CMakeConfigItem &a, const CMakeConfigItem &b)> sortOperator();
static CMakeConfigItem fromString(const QString &s);
+ static QList<CMakeConfigItem> itemsFromArguments(const QStringList &list);
static QList<CMakeConfigItem> itemsFromFile(const Utils::FilePath &input, QString *errorMessage);
QString toString(const Utils::MacroExpander *expander = nullptr) const;
QString toArgument(const Utils::MacroExpander *expander = nullptr) const;