-
Make sure that
cmake-gui
is in thePATH
. If not, you must edit the following line incmake-gui_here.desktop
Exec=cmake-gui "-H%f" "-B%f/build"
and replace
cmake-gui
with the path to yourcmake-gui
executable -
Copy
cmake-gui_here.desktop
to 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.txt
file - Choose
CMake GUI Here
- Remove
cmake-gui_here.desktop
from its installation folder