From 93962961ac1c3cee1288ef78cda8e876c41f243f Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Thu, 4 Sep 2025 21:15:27 -0400 Subject: [PATCH] batman --- .gitignore | 2 ++ CMakeLists.txt | 17 +++++++++++++++++ src/main.cpp | 6 ++++++ 3 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 src/main.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b79a54 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build/ +.cache/ \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d35c1d8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 3.16) +project(connect_four) +set(CMAKE_C_STANDARD 23) +set(CMAKE_C_STANDARD_REQUIRED ON) +include_directories(include) + +set(SOURCES + src/main.cpp +) + +add_executable(connect_four ${SOURCES}) + +# find_package(Curses REQUIRED) +# include_directories(${CURSES_INCLUDE_DIR}) +# target_link_libraries(connect_four ${CURSES_LIBRARIES}) + +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..1055224 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "Hello World" << std::endl; + return 0; +}