blob: 28b724c52de11936cd69837d5bb2b72f94805836 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
cmake_minimum_required(VERSION 3.7.2)
project(qtappfw VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(OE_QMAKE_PATH_EXTERNAL_HOST_BINS $ENV{OE_QMAKE_PATH_HOST_BINS})
find_package(Qt5Qml REQUIRED)
find_package(Qt5WebSockets REQUIRED)
include(GNUInstallDirs)
set(DEST_DIR "${CMAKE_INSTALL_PREFIX}")
set(PRIVATE_LIBS "${PRIVATE_LIBS} -lqtappfw-core
-lqtappfw-bt
-lqtappfw-hvac
-lqtappfw-bt-map
-lqtappfw-mediaplayer
-lqtappfw-navigation
-lqtappfw-network
-lqtappfw-bt-pbap
-lqtappfw-radio
-lqtappfw-signal-composer
-lqtappfw-phone
-lqtappfw-voice
-lqtappfw-voice-metadata
-lqtappfw-weather")
set (SUBDIRS
core
docs
bluetooth
hvac
map
mediaplayer
navigation
network
pbap
radio
signal-composer
telephony
voice
voice-capabilities
weather)
foreach(subdir ${SUBDIRS})
add_subdirectory(${subdir})
endforeach()
|