CMake

Install CMake

In a folder, create 2 files:

Main.cpp
#include <iostream>

int main()
{
	std::cout << "This is a CMake test X" << std::endl;
	return 0;
}
CMakeLists.txt
cmake_minimum_required(VERSION "3.21.2")
# set version according to your installed CMake's version

project("CMakeTest")
add_executable("${PROJECT_NAME}" "Main.cpp")

Create a new folder in CMakeLists.txt’s directory, cd to it and run code below

cmake ..

Make the executable (*.exe)

cmake --build <dir>

Can run the executable in Shell/Terminal.