summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--CMakeLists.txt22
-rw-r--r--LICENSE13
-rw-r--r--README.md2
-rw-r--r--src/main.cpp6
5 files changed, 45 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0e2e176
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/build
+*.env
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..c04707d
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,22 @@
+cmake_minimum_required(VERSION 3.10)
+
+project(
+ RedpilledBot
+ VERSION 1.0
+ DESCRIPTION "a silly twitch chat bot"
+)
+
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED True)
+
+add_executable(Bot)
+
+file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.h" "src/*.hpp")
+
+target_sources(Bot PRIVATE ${SRC_FILES})
+
+set_target_properties(
+ Bot PROPERTIES
+ DESCRIPTION ${PROJECT_DESCRIPTION}
+ OUTPUT_NAME "redpilled-bot_${PROJECT_VERSION}"
+)
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..9206153
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,13 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+Copyright (C) 2024 ilotterytea <ilotterytea@pm.me>
+
+Everyone is permitted to copy and distribute verbatim or modified
+copies of this license document, and changing it is allowed as long
+as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..676b01f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# redpilled-bot
+
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..f3eff06
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,6 @@
+#include <iostream>
+
+int main(int argc, char *argv[]) {
+ std::cout << "hi world\n";
+ return 0;
+}