File indexing completed on 2024-05-05 16:46:17
0001 /* 0002 SPDX-FileCopyrightText: 2015 Kevin Funk <kfunk@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef QMAKEUTILS_H 0008 #define QMAKEUTILS_H 0009 0010 #include <QHash> 0011 0012 namespace KDevelop 0013 { 0014 class IProject; 0015 } 0016 0017 namespace QMakeUtils { 0018 0019 /** 0020 * Checks whether there's a need to run qmake for the given project item 0021 * This is the case if no builddir has been specified, in which case 0022 * it asks for one. 0023 * 0024 * @returns true if configure should be run, false otherwise 0025 */ 0026 bool checkForNeedingConfigure(KDevelop::IProject* project); 0027 0028 QHash<QString,QString> queryQMake(KDevelop::IProject*); 0029 0030 } 0031 0032 #endif // QMAKEUTILS_H