aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 0392cbb1ee8f080ac258a7eafc04228d1272b0b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.6.0)

project(asteroid-helloworld
	VERSION 0.0.1
	DESCRIPTION "Sample application to get started on Asteroid")

find_package(ECM REQUIRED NO_MODULE)
find_package(AsteroidApp REQUIRED)

set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ASTEROID_MODULE_PATH})

include(FeatureSummary)
include(GNUInstallDirs)
include(ECMQMLModules)
include(AsteroidCMakeSettings)
include(AsteroidTranslations)

add_subdirectory(src)

generate_desktop(${CMAKE_SOURCE_DIR} asteroid-helloworld)

feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)