-
Make sure that
cmake-guiis in thePATH. If not, you must edit the following line incmake-gui_here.desktopExec=cmake-gui "-H%f" "-B%f/build"and replace
cmake-guiwith the path to yourcmake-guiexecutable -
Copy
cmake-gui_here.desktopto one of the following folders:- KDE 5
~/.local/share/kservices5/ServiceMenus(per-user installation)/usr/share/kservices5/ServiceMenus(system-wide installation)
- KDE < 5
~/.kde/share/kde4/services/ServiceMenus(per-user installation)/usr/share/kde4/services/ServiceMenus(system-wide installation)
- KDE 5
- Right-click on any file in a directory containing a
CMakeLists.txtfile - Choose
CMake GUI Here
- Remove
cmake-gui_here.desktopfrom its installation folder
