initial commit

This commit is contained in:
2025-09-07 14:28:42 -06:00
commit ee7070d6a4
2 changed files with 466 additions and 0 deletions

23
CMakeLists.txt Normal file
View File

@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.5)
project(Candland)
add_executable(candyland candyland.cpp)
set_target_properties(candyland PROPERTIES CXX_STANDARD 20)
set_target_properties(candyland PROPERTIES CXX_STANDARD_REQUIRED TRUE)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
target_compile_options(candyland PRIVATE
-Wall
-Wextra
-Wpedantic
-Wshadow
-Wnon-virtual-dtor
-Wold-style-cast
-Wcast-align
-Wunused
-Woverloaded-virtual
# -Wconversion
-Wnull-dereference
-Wdouble-promotion
-Wformat=2
)
endif()