cmake_minimum_required(VERSION 3.6) project(section2_7) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(SOURCE_FILES main.cpp) add_executable(section2_7 ${SOURCE_FILES})