2019-05-11 14:13:03 +02:00
|
|
|
cmake_minimum_required(VERSION 3.8)
|
2021-02-12 11:36:42 +01:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_SOURCE_DIR}/lib ${CMAKE_BINARY_DIR})
|
|
|
|
set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/dependencies" CACHE PATH "Path to the dependencies")
|
|
|
|
include(FeatureSummary)
|
2019-05-11 14:13:03 +02:00
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
project(Chatterino2)
|
2019-05-11 14:13:03 +02:00
|
|
|
|
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
|
|
|
#include(pmm)
|
|
|
|
#pmm(CONAN REMOTES BINCRAFTERS)
|
2020-12-26 12:42:39 +01:00
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(tests)
|
2020-12-26 12:42:39 +01:00
|
|
|
|
|
|
|
|
2021-02-12 11:36:42 +01:00
|
|
|
feature_summary(WHAT ALL)
|