Skip to content

Commit

Permalink
Release of stable version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Modersi committed Jan 12, 2023
1 parent 8a87ac7 commit 9e422f6
Show file tree
Hide file tree
Showing 355 changed files with 4,915 additions and 12,319 deletions.
43 changes: 24 additions & 19 deletions CMakeLists.txt
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.
904 changes: 0 additions & 904 deletions CompiledBinaries/Windows/x64/Static/include/Bot.h

This file was deleted.

82 changes: 0 additions & 82 deletions CompiledBinaries/Windows/x64/Static/include/BotSettings.h

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9e422f6

Please sign in to comment.