CMakeLists.txt 925 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
find_package(Qt5 5.2 REQUIRED COMPONENTS Quick Test)
9
find_package(KF5 REQUIRED COMPONENTS I18n KIO Notifications ConfigWidgets DBusAddons KCMUtils KDELibs4Support)
10
find_package(QCA2 REQUIRED)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
11

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

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

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

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

35
add_subdirectory(tests)