init: migrate from chal repo
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
project(catsh LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_executable(catsh src/main.cpp)
|
||||
target_compile_features(catsh PRIVATE cxx_std_23)
|
||||
set_target_properties(catsh PROPERTIES CXX_EXTENSIONS OFF)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
|
||||
target_compile_options(catsh PRIVATE -Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
Reference in New Issue
Block a user