init: migrate from chal repo

This commit is contained in:
2026-06-14 13:41:16 +00:00
commit 4cc47ee53d
6 changed files with 1053 additions and 0 deletions
+13
View File
@@ -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()