Changeset View
Changeset View
Standalone View
Standalone View
plugins/cmake/cmakeprojectdata.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 58 | { | |||
---|---|---|---|---|---|
59 | Q_GADGET | 59 | Q_GADGET | ||
60 | public: | 60 | public: | ||
61 | enum Type { Library, Executable, Custom }; | 61 | enum Type { Library, Executable, Custom }; | ||
62 | Q_ENUM(Type) | 62 | Q_ENUM(Type) | ||
63 | 63 | | |||
64 | Type type; | 64 | Type type; | ||
65 | QString name; | 65 | QString name; | ||
66 | KDevelop::Path::List artifacts; | 66 | KDevelop::Path::List artifacts; | ||
67 | KDevelop::Path::List sources; | ||||
67 | }; | 68 | }; | ||
68 | Q_DECLARE_TYPEINFO(CMakeTarget, Q_MOVABLE_TYPE); | 69 | Q_DECLARE_TYPEINFO(CMakeTarget, Q_MOVABLE_TYPE); | ||
69 | inline QDebug &operator<<(QDebug debug, const CMakeTarget& target) { | 70 | inline QDebug &operator<<(QDebug debug, const CMakeTarget& target) { | ||
70 | debug << target.type << ':' << target.name; return debug.maybeSpace(); | 71 | debug << target.type << ':' << target.name; return debug.maybeSpace(); | ||
71 | } | 72 | } | ||
72 | 73 | | |||
73 | inline bool operator==(const CMakeTarget& lhs, const CMakeTarget& rhs) | 74 | inline bool operator==(const CMakeTarget& lhs, const CMakeTarget& rhs) | ||
74 | { | 75 | { | ||
Show All 32 Lines |