From a87d5ecdbff86b0e5f08640005e41b352661f8a2 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 29 Oct 2023 13:26:50 +0100 Subject: [PATCH] Created the CMakeLists.txt --- CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..dceda02 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.26) +project(Bot) + +set(CMAKE_CXX_STANDARD 17) + +file(GLOB SRC_FILES "src/listeners/*.cpp" "src/api/*.cpp") + +include_directories(src) + +find_package(dpp REQUIRED) + +add_executable(Bot src/main.cpp ${SRC_FILES}) + +target_link_libraries(Bot dpp)