cmake minimal

This commit is contained in:
Artur Mukhamadiev 2025-07-03 19:19:05 +00:00
parent 41bd5e4433
commit 2094813c5d
2 changed files with 7 additions and 3 deletions

7
CMakeLists.txt Normal file
View File

@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.20)
project(HelloWorld)
add_executable(${PROJECT_NAME} main.cc)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

View File

@ -1,3 +0,0 @@
project('hello-world', 'cpp', default_options : ['cpp_std=c++23'])
executable('hw', 'main.cc')