Created the CMakeLists.txt

This commit is contained in:
Mathias Wagner 2023-10-29 13:26:50 +01:00
parent d307218666
commit a87d5ecdbf
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

14
CMakeLists.txt Normal file
View File

@ -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)