1
/* KDevelop CMake Support
3
* Copyright 2006-2007 Andreas Pakulat <apaku@gmx.de>
4
* Copyright 2008 Hamish Rodda <rodda@kde.org>
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25
#include <outputview/outputjob.h>
31
class ProjectBaseItem;
32
class CommandExecutor;
37
class CMakeJob: public KDevelop::OutputJob
44
NoProjectError = UserDefinedError,
48
CMakeJob(QObject* parent = 0);
50
void setProject(KDevelop::IProject* project);
58
void slotFailed( QProcess::ProcessError );
62
QStringList cmakeArguments( KDevelop::IProject* project );
63
KUrl buildDir( KDevelop::IProject* project );
64
QString cmakeBinary( KDevelop::IProject* project );
66
KDevelop::IProject* m_project;
67
KDevelop::CommandExecutor* m_executor;