What is the difference between cmake
and ccmake
? I have the Ubuntu package cmake
installed, and on my Windows computer, I have the installer from the website, but neither have the command ccmake
available. Yet, the tutorials, seem to reference it quite regularly.
It seems that ccmake
on Unix is CMakeSetup
on Windows (which is the setup program). But I'm a little confused about it; is it just an alternative to manually typing your own CMakeLists.txt
files?
The ccmake executable is the CMake curses interface. Project configuration settings may be specified interactively through this GUI. Brief instructions are provided at the bottom of the terminal when the program is running. CMake is a cross-platform build system generator.
Running CMake from the command line From the command line, cmake can be run as an interactive question and answer session or as a non-interactive program. To run in interactive mode, just pass the option “-i” to cmake. This will cause cmake to ask you to enter a value for each value in the cache file for the project.
The cmake-gui executable is the CMake GUI. Project configuration settings may be specified interactively. Brief instructions are provided at the bottom of the window when the program is running. CMake is a cross-platform build system generator.
I think ccmake
is the GUI for manipulating files generated by / used by the cmake
system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With