12 lines
357 B
CMake
Executable File
12 lines
357 B
CMake
Executable File
# Set the minimum required version of CMake
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
# Set the project name and specify the C++ as the project language
|
|
project(HM_P2)
|
|
|
|
# Specify the C++ standard
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
# Add an executable with the above sources
|
|
add_executable(HM_P2 main.cpp CMyVektor.cpp CMyMatrix.cpp) |