stela/CMakeLists.txt

23 lines
352 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.29)
project(stela VERSION 1.0.0 LANGUAGES CXX)
2024-07-19 00:46:06 +01:00
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
2024-07-19 00:46:06 +01:00
parser.cpp
)