mirror-chatterino2/CMakeLists.txt

24 lines
494 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.8)
2021-02-12 11:36:42 +01:00
include(FeatureSummary)
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)
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)
2021-02-12 11:36:42 +01:00
find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Network Multimedia Svg Concurrent)
2021-02-12 11:36:42 +01:00
add_subdirectory(src)
2021-02-12 12:52:50 +01:00
#add_subdirectory(tests)
2021-02-12 11:36:42 +01:00
feature_summary(WHAT ALL)