stela/CMakeLists.txt
2024-07-19 01:46:22 +02:00

23 lines
352 B
CMake

cmake_minimum_required(VERSION 3.29)
project(stela VERSION 1.0.0 LANGUAGES CXX)
set (CMAKE_CXX_STANDARD 20)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_BUILD_TYPE Debug)
if (MSVC)
add_compile_options(/W4 /WX)
else()
add_compile_options(-Wall -Wextra -pedantic -Werror)
endif()
add_executable(
stela
main.cpp
parser.cpp
)