cmake_minimum_required(VERSION 3.29) project(T8Q2_2) set(CMAKE_CXX_STANDARD 20) add_executable(T8Q2_2 main.cpp Polygon.cpp Polygon.h Rectangle.cpp Rectangle.h Triangle.cpp main.h Triangle.h)