I'm trying to build new CMake hello world project and I'm getting:
Building in: /home/adam/eclipse-workspace/tttt/build/default
Configuring in: /home/adam/eclipse-workspace/tttt/build/default
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/adam/eclipse-workspace/tttt
-- Configuring incomplete, errors occurred!
See also "/home/adam/eclipse-workspace/tttt/build/default/CMakeFiles/CMakeOutput.log".
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
cmake --build . -- -v
No such file or directory
CMake Error: Generator: execution of make failed. Make command was: "" "-v"
Build complete (0 errors, 0 warnings): /home/adam/eclipse-workspace/tttt/build/default
Where could I change default generator to desired 'Unix Makefiles' and more generally how to add any custom optional parameter to cmake?