From 9b68421d5c1fcb76e2103a1116e3ab18673c5dee Mon Sep 17 00:00:00 2001 From: DarthMooMancer Date: Mon, 1 Sep 2025 18:20:47 -0400 Subject: [PATCH] batman --- .gitignore | 2 ++ CMakeLists.txt | 17 +++++++++++++++++ compile_commands.json | 1 + src/main.cpp | 6 ++++++ 4 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 120000 compile_commands.json 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..ad3450c --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 3.16) +project(tic_tac_toe) +set(CMAKE_C_STANDARD 23) +set(CMAKE_C_STANDARD_REQUIRED ON) +include_directories(include) + +set(SOURCES + src/main.cpp +) + +add_executable(tic_tac_toe ${SOURCES}) + +# find_package(Curses REQUIRED) +# include_directories(${CURSES_INCLUDE_DIR}) +# target_link_libraries(tic_tac_toe ${CURSES_LIBRARIES}) + +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/compile_commands.json b/compile_commands.json new file mode 120000 index 0000000..c52ad08 --- /dev/null +++ b/compile_commands.json @@ -0,0 +1 @@ +compile_commands.json \ No newline at end of file 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; +}