1cmake_minimum_required(VERSION 3.10) 2project(hello-cpp) 3 4add_executable(hello-cpp main.cpp) 5 6install(TARGETS hello-cpp)