cmake boilerplate for visual studio c++ project

cmake_minimum_required(VERSION 3.15)  // Specify the minimum required CMake version
project(MyProject)  // Set the project name

set(CMAKE_CXX_STANDARD 14)  // Set the C++ standard to use
set(SOURCE_FILES main.cpp)  // Define the source files for the project

add_executable(MyProject ${SOURCE_FILES})  // Create an executable using the defined source files