-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Modersi/develop
Release of stable version 1.0
- Loading branch information
Showing
354 changed files
with
4,824 additions
and
12,314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
#[[ | ||
User CMake directories: | ||
• CMAKE_INSTALL_INCLUDEDIR - directory for all header files for including to your project | ||
• CMAKE_INSTALL_LIBDIR - directory for builded libraries for including to your project | ||
|
||
Available build options: | ||
• BUILD_SHARED_LIBS - "off" if you want to build a static library(.lib, .a), "on" if you want to build a dynamic library(.dll, .so). "off" by the default | ||
• DEBUG_MODE - "on" if you want to see system messages with debug imformation. "off" by the default | ||
]] | ||
|
||
cmake_minimum_required(VERSION 3.20.0) | ||
project(TelegramBotAPI | ||
VERSION 1.0.0 | ||
LANGUAGES CXX | ||
DESCRIPTION "Telegram Bot API on C++ and Qt6") | ||
|
||
option(BUILD_EXAMPLES "Set \"on\" to build projects with library usage examples" OFF) | ||
option(BUILD_TESTBED "Set \"on\" to build simple test bot project" OFF) | ||
|
||
# Setting all paths for dependencies of a project, such as Qt5_DIR or OPENSSL_ROOT_DIR # | ||
include(Dependecies.cmake) | ||
|
||
include(GNUInstallDirs) | ||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_AUTOMOC ON) | ||
|
||
project(TelegramBotAPI | ||
VERSION 0.1.0 | ||
LANGUAGES CXX | ||
DESCRIPTION "Telegram Bot API on C++ and QT") | ||
|
||
add_subdirectory(Sources) | ||
add_subdirectory(TestBed) | ||
add_subdirectory(Examples) | ||
find_package(Qt6 REQUIRED COMPONENTS Core Network) | ||
find_package(OpenSSL REQUIRED) | ||
|
||
|
||
add_subdirectory(Sources) | ||
|
||
if(BUILD_TESTBED) | ||
add_subdirectory(TestBed) | ||
endif() | ||
|
||
if(BUILD_EXAMPLES) | ||
add_subdirectory(Examples) | ||
endif() |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
222 changes: 0 additions & 222 deletions
222
CompiledBinaries/Windows/x64/Static/include/Internal/ConversionFunctions.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.