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

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

5 6
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
7
find_package(KDE4 REQUIRED)
8 9
find_package(QJSON REQUIRED)
find_package(QCA2 REQUIRED)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
10

11 12 13
#if(CMAKE_COMPILER_IS_GNUCXX)
#    add_definitions(-std=gnu++0x)
#endif()
14

15
include(GenerateExportHeader)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
16 17
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES})
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
18
include_directories(${CMAKE_CURRENT_BINARY_DIR})
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
19

Aleix Pol Gonzalez's avatar
Aleix Pol Gonzalez committed
20
add_subdirectory(core)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
21
add_subdirectory(kcm)
22
add_subdirectory(kio)
23
add_subdirectory(icon)
Aleix Pol Gonzalez's avatar
Aleix Pol Gonzalez committed
24 25 26
add_subdirectory(interfaces)

add_subdirectory(kded)
27
add_subdirectory(plugins)
Aleix Pol Gonzalez's avatar
Aleix Pol Gonzalez committed
28
add_subdirectory(plasmoid)
29
add_subdirectory(cli)
30
add_subdirectory(fileitemactionplugin)
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
31

32
add_subdirectory(tests)