ubuntucmakecmake-gui

Where is the CMake GUI for Linux?


I have CMake installed on my Ubuntu Linux. Trying to run CMake GUI in Linux. I found it works in Windows, but where to get it and how to run in Linux?


Solution

  • cmake is documented (type man cmake and see also cmake.org) as being a command, so it should not have any GUI interface:

    DESCRIPTION

      The  "cmake" executable is the CMake command-line interface.  It may be
    
       used to configure projects in scripts.  Project configuration  settings
       may be specified on the command line with the -D option.
    

    And it is just generating a Makefile (to be used by the make command). I don't understand what kind of GUI are you expecting.

    On Debian and derivatives like Ubuntu, you might install the cmake-gui or cmake-qt-gui package then run the cmake-gui command.

    And make is often running GCC. Try make -p to understand the default rules of GNU make... So read documentation of GNU make and of GCC (and probably of GDB).