CMakeLists.txt 986 Bytes
Newer Older
1
project(kdeconnect)
2

3
cmake_minimum_required(VERSION 2.8.12)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
4

5 6
find_package(ECM 0.0.9 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake)
7

8 9
find_package(Qt5 5.2 REQUIRED COMPONENTS Qml Quick Xml Svg OpenGL PrintSupport Test)
find_package(KF5 REQUIRED COMPONENTS I18n KIO Notifications ConfigWidgets DBusAddons KCMUtils KDELibs4Support)
10
find_package(QCA2 REQUIRED)
11
find_package(QJSON REQUIRED)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
12

13 14 15 16 17 18 19
include(KDEInstallDirs)
include(KDECompilerSettings)
include(KDECMakeSettings)
include(ECMAddTests)
include(ECMSetupVersion)
include(ECMInstallIcons)
include(FeatureSummary)
20

21
include(GenerateExportHeader)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
22
include_directories(${CMAKE_CURRENT_BINARY_DIR})
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
23

Aleix Pol Gonzalez's avatar
Aleix Pol Gonzalez committed
24
add_subdirectory(core)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
25
add_subdirectory(kcm)
26
add_subdirectory(kio)
27
add_subdirectory(icon)
Aleix Pol Gonzalez's avatar
Aleix Pol Gonzalez committed
28 29 30
add_subdirectory(interfaces)

add_subdirectory(kded)
31
add_subdirectory(plugins)
Aleix Pol Gonzalez's avatar
Aleix Pol Gonzalez committed
32
add_subdirectory(plasmoid)
33
add_subdirectory(cli)
34
add_subdirectory(fileitemactionplugin)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
35

36
add_subdirectory(tests)