mirror of
https://github.com/Syping/dtranslatebot.git
synced 2026-04-21 14:40:41 +02:00
curl_exception: implement exception class to throw libcurl errors
This commit is contained in:
parent
ce6b3785ac
commit
8de0473669
3 changed files with 74 additions and 1 deletions
|
|
@ -18,11 +18,12 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
cmake_policy(VERSION 3.16...3.27)
|
||||
project(dtranslatebot VERSION 0.3.3 LANGUAGES CXX)
|
||||
project(dtranslatebot VERSION 0.4.0 LANGUAGES CXX)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# dtranslatebot Source files
|
||||
set(DTRANSLATEBOT_HEADERS
|
||||
src/core/curl_exception.h
|
||||
src/core/database.h
|
||||
src/core/http_headers.h
|
||||
src/core/http_request.h
|
||||
|
|
@ -43,6 +44,7 @@ set(DTRANSLATEBOT_HEADERS
|
|||
src/translator/stub/stub.h
|
||||
)
|
||||
set(DTRANSLATEBOT_SOURCES
|
||||
src/core/curl_exception.cpp
|
||||
src/core/database.cpp
|
||||
src/core/http_headers.cpp
|
||||
src/core/http_request.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue