mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
32 lines
933 B
C++
32 lines
933 B
C++
/* KDevelop Custom Makefile Support
|
|
*
|
|
* Copyright 2007 Dukju Ahn <dukjuahn@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef CUSTOMMAKEMODELITEMS_H
|
|
#define CUSTOMMAKEMODELITEMS_H
|
|
|
|
#include <project/projectmodel.h>
|
|
|
|
class CustomMakeTargetItem : public KDevelop::ProjectTargetItem
|
|
{
|
|
public:
|
|
CustomMakeTargetItem( KDevelop::IProject *project, const QString &name, ProjectBaseItem*parent=NULL );
|
|
|
|
virtual KUrl::List includeDirectories() const;
|
|
virtual QHash<QString, QString> environment() const;
|
|
virtual QList<QPair<QString, QString> > defines() const;
|
|
|
|
private:
|
|
KUrl::List m_includeDirs;
|
|
QHash<QString, QString> m_envs;
|
|
QList<QPair <QString, QString> > m_defines;
|
|
|
|
};
|
|
|
|
#endif
|