# CMakeList.txt : CMake project for Assignment2, include source and define # project specific logic here. # cmake_minimum_required (VERSION 3.8) # Enable Hot Reload for MSVC compilers if supported. if (POLICY CMP0141) cmake_policy(SET CMP0141 NEW) set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$,$>,$<$:EditAndContinue>,$<$:ProgramDatabase>>") endif() project ("Assignment2") # Add source to this project's executable. add_executable (Assignment2 "Assignment2.c" "Assignment2.h") if (CMAKE_VERSION VERSION_GREATER 3.12) set_property(TARGET Assignment2 PROPERTY CXX_STANDARD 20) endif() # TODO: Add tests and install targets if needed.