Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/project/interfaces/ibuildsystemmanager.h
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Line(s) | 43 | public: | |||
---|---|---|---|---|---|
125 | * Get the toplevel build directory for the project | 125 | * Get the toplevel build directory for the project | ||
126 | */ | 126 | */ | ||
127 | virtual Path buildDirectory(ProjectBaseItem*) const = 0; | 127 | virtual Path buildDirectory(ProjectBaseItem*) const = 0; | ||
128 | 128 | | |||
129 | /** | 129 | /** | ||
130 | * @returns the extra arguments that will be passed to the compiler when building @p item | 130 | * @returns the extra arguments that will be passed to the compiler when building @p item | ||
131 | */ | 131 | */ | ||
132 | virtual QString extraArguments(ProjectBaseItem* item) const = 0; | 132 | virtual QString extraArguments(ProjectBaseItem* item) const = 0; | ||
133 | | ||||
134 | /** | ||||
135 | * @returns the absolute path to the tool that will be used or an empty path if unknown | ||||
136 | */ | ||||
137 | virtual Path compiler(KDevelop::ProjectTargetItem* p) const = 0; | ||||
mwolff: make it pure virtual like the rest of this interface
rename to `compiler` | |||||
133 | }; | 138 | }; | ||
134 | 139 | | |||
135 | } | 140 | } | ||
136 | 141 | | |||
137 | Q_DECLARE_OPERATORS_FOR_FLAGS( KDevelop::IBuildSystemManager::BuildFeatures ) | 142 | Q_DECLARE_OPERATORS_FOR_FLAGS( KDevelop::IBuildSystemManager::BuildFeatures ) | ||
138 | 143 | | |||
139 | Q_DECLARE_INTERFACE( KDevelop::IBuildSystemManager, "org.kdevelop.IBuildSystemManager" ) | 144 | Q_DECLARE_INTERFACE( KDevelop::IBuildSystemManager, "org.kdevelop.IBuildSystemManager" ) | ||
140 | 145 | | |||
141 | #endif | 146 | #endif | ||
142 | 147 | | |||
143 | 148 | |
make it pure virtual like the rest of this interface
rename to compiler