Changeset View
Changeset View
Standalone View
Standalone View
projectmanagers/cmake/cmakeutils.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 75 | { | |||
---|---|---|---|---|---|
100 | KDEVCMAKECOMMON_EXPORT KDevelop::Path targetDirectoriesFile( KDevelop::IProject* project ); | 100 | KDEVCMAKECOMMON_EXPORT KDevelop::Path targetDirectoriesFile( KDevelop::IProject* project ); | ||
101 | 101 | | |||
102 | /** | 102 | /** | ||
103 | * @returns the current build type for the given project or "Release" as default value. | 103 | * @returns the current build type for the given project or "Release" as default value. | ||
104 | */ | 104 | */ | ||
105 | KDEVCMAKECOMMON_EXPORT QString currentBuildType( KDevelop::IProject* project, int builddir = -1 ); | 105 | KDEVCMAKECOMMON_EXPORT QString currentBuildType( KDevelop::IProject* project, int builddir = -1 ); | ||
106 | 106 | | |||
107 | /** | 107 | /** | ||
108 | * @returns the current build type for the given project or "Release" as default value. | ||||
109 | */ | ||||
110 | KDEVCMAKECOMMON_EXPORT QString currentCmakeExecutable( KDevelop::IProject* project, int builddir = -1 ); | ||||
111 | | ||||
112 | /** | ||||
108 | * @returns the CMake executable, taking into account standard | 113 | * @returns the CMake executable, taking into account standard | ||
109 | * installation dirs on Windows, or empty string in case of failure. | 114 | * installation dirs on Windows, or empty string in case of failure. | ||
110 | */ | 115 | */ | ||
111 | KDEVCMAKECOMMON_EXPORT QString findExecutable(); | 116 | KDEVCMAKECOMMON_EXPORT QString findExecutable(); | ||
112 | 117 | | |||
113 | /** | 118 | /** | ||
114 | * @returns the current install dir for the given project or "/usr/local" as default value. | 119 | * @returns the current install dir for the given project or "/usr/local" as default value. | ||
115 | */ | 120 | */ | ||
▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | |||||
166 | KDEVCMAKECOMMON_EXPORT void setProjectRootRelative( KDevelop::IProject* project, const QString& path); | 171 | KDEVCMAKECOMMON_EXPORT void setProjectRootRelative( KDevelop::IProject* project, const QString& path); | ||
167 | 172 | | |||
168 | /** | 173 | /** | ||
169 | * Sets the current extra arguments for the given project. | 174 | * Sets the current extra arguments for the given project. | ||
170 | */ | 175 | */ | ||
171 | KDEVCMAKECOMMON_EXPORT void setCurrentExtraArguments( KDevelop::IProject* project, const QString& args ); | 176 | KDEVCMAKECOMMON_EXPORT void setCurrentExtraArguments( KDevelop::IProject* project, const QString& args ); | ||
172 | 177 | | |||
173 | /** | 178 | /** | ||
179 | * Sets the current CMake binary the given project. | ||||
180 | */ | ||||
181 | KDEVCMAKECOMMON_EXPORT void setCurrentCmakeExecutable(KDevelop::IProject* project, const QString& string); | ||||
182 | | ||||
183 | /** | ||||
174 | * Obtains a cmake documentation instance if it exists | 184 | * Obtains a cmake documentation instance if it exists | ||
175 | */ | 185 | */ | ||
176 | KDEVCMAKECOMMON_EXPORT ICMakeDocumentation* cmakeDocumentation(); | 186 | KDEVCMAKECOMMON_EXPORT ICMakeDocumentation* cmakeDocumentation(); | ||
177 | 187 | | |||
178 | /** | 188 | /** | ||
179 | * Retrieves the configured build directories for @p project. | 189 | * Retrieves the configured build directories for @p project. | ||
180 | */ | 190 | */ | ||
181 | KDEVCMAKECOMMON_EXPORT QStringList allBuildDirs(KDevelop::IProject* project); | 191 | KDEVCMAKECOMMON_EXPORT QStringList allBuildDirs(KDevelop::IProject* project); | ||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |