2019-05-11 14:13:03 +02:00
|
|
|
cmake_minimum_required(VERSION 3.8)
|
2021-02-12 11:36:42 +01:00
|
|
|
include(FeatureSummary)
|
2019-05-11 14:13:03 +02:00
|
|
|
|
2021-02-12 12:52:50 +01:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
|
|
|
|
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
project(Chatterino2)
|
2019-05-11 14:13:03 +02:00
|
|
|
|
2021-02-12 12:52:50 +01:00
|
|
|
include(pmm)
|
|
|
|
pmm(CONAN REMOTES BINCRAFTERS)
|
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
2019-05-11 14:13:03 +02:00
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Network Multimedia Svg Concurrent)
|
2020-12-26 12:42:39 +01:00
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
add_subdirectory(src)
|
2021-02-12 12:52:50 +01:00
|
|
|
#add_subdirectory(tests)
|
2020-12-26 12:42:39 +01:00
|
|
|
|
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
feature_summary(WHAT ALL)
|