Changeset View
Changeset View
Standalone View
Standalone View
plugins/cmake/cmakeutils.h
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 75 | { | |||
---|---|---|---|---|---|
111 | KDEVCMAKECOMMON_EXPORT QString findExecutable(); | 111 | KDEVCMAKECOMMON_EXPORT QString findExecutable(); | ||
112 | /** | 112 | /** | ||
113 | * @returns the current CMake executable for the given project, falling back to | 113 | * @returns the current CMake executable for the given project, falling back to | ||
114 | * CMakeBuilderSettings::self()->cmakeExecutable() as the user-specified KDevelop-wide default value. | 114 | * CMakeBuilderSettings::self()->cmakeExecutable() as the user-specified KDevelop-wide default value. | ||
115 | */ | 115 | */ | ||
116 | KDEVCMAKECOMMON_EXPORT KDevelop::Path currentCMakeExecutable(KDevelop::IProject* project, int builddir = -1); | 116 | KDEVCMAKECOMMON_EXPORT KDevelop::Path currentCMakeExecutable(KDevelop::IProject* project, int builddir = -1); | ||
117 | 117 | | |||
118 | /** | 118 | /** | ||
119 | * @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 an empty string if none has been defined | ||
120 | * (in that case, whatever default CMake sets for the platform will be used.) | ||||
mwolff: make sure to add this information to the dialog that asks for the install dir and ensure that… | |||||
What do you mean with "its click message"? Accepting that dialog immediately gives the next import wizard dialog where you enter the project name. rjvbb: What do you mean with "its click message"? Accepting that dialog immediately gives the next… | |||||
mwolff: https://api.kde.org/frameworks/kio/html/classKUrlRequester. | |||||
Strange, now I see a "clickMessage" property in the Designer property editor. I'm pretty certain I have the KF5 designer plugin installed on my other system too though. rjvbb: Strange, now I see a "clickMessage" property in the Designer property editor. I'm pretty… | |||||
120 | */ | 121 | */ | ||
121 | KDEVCMAKECOMMON_EXPORT KDevelop::Path currentInstallDir( KDevelop::IProject* project, int builddir = -1 ); | 122 | KDEVCMAKECOMMON_EXPORT KDevelop::Path currentInstallDir( KDevelop::IProject* project, int builddir = -1 ); | ||
122 | 123 | | |||
123 | /** | 124 | /** | ||
124 | * @returns the current extra arguments for the given project or "" as default value. | 125 | * @returns the current extra arguments for the given project or "" as default value. | ||
125 | */ | 126 | */ | ||
126 | KDEVCMAKECOMMON_EXPORT QString currentExtraArguments( KDevelop::IProject* project, int builddir = -1 ); | 127 | KDEVCMAKECOMMON_EXPORT QString currentExtraArguments( KDevelop::IProject* project, int builddir = -1 ); | ||
127 | 128 | | |||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |
make sure to add this information to the dialog that asks for the install dir and ensure that it shows something like 'default' in it's click message and something more elaborate in the tooltip