mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-12-15 08:06:26 +01:00
rename queue to message_queue, add exception handling to settings
This commit is contained in:
parent
b710fa3050
commit
acbab3c97b
6 changed files with 84 additions and 77 deletions
|
|
@ -19,12 +19,14 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
project(dtranslatebot VERSION 0.1 DESCRIPTION "Discord Translation Bot")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
src/main.cpp
|
||||
src/queue.cpp
|
||||
src/message_queue.cpp
|
||||
src/message_queue.h
|
||||
src/settings.cpp
|
||||
src/settings.h
|
||||
)
|
||||
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue