cmake_minimum_required(VERSION 3.8) project(Source) set(CMAKE_CXX_STANDARD 11) set(SOURCE_FILES main.cpp header.h) add_executable(Source ${SOURCE_FILES})