2013-07-02 00:50:32 +01:00
|
|
|
project(kdeconnect)
|
2013-08-21 17:25:44 +01:00
|
|
|
|
2013-06-19 12:29:24 +01:00
|
|
|
cmake_minimum_required(VERSION 2.6)
|
2013-06-06 04:57:06 +01:00
|
|
|
|
2014-06-14 15:34:00 +01:00
|
|
|
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
|
|
|
|
2013-06-06 04:57:06 +01:00
|
|
|
find_package(KDE4 REQUIRED)
|
2014-06-14 13:31:31 +01:00
|
|
|
find_package(QJSON REQUIRED)
|
|
|
|
find_package(QCA2 REQUIRED)
|
2013-06-06 04:57:06 +01:00
|
|
|
|
2013-07-25 16:04:58 +01:00
|
|
|
#if(CMAKE_COMPILER_IS_GNUCXX)
|
|
|
|
# add_definitions(-std=gnu++0x)
|
|
|
|
#endif()
|
2013-07-04 18:17:22 +01:00
|
|
|
|
2014-06-14 13:31:31 +01:00
|
|
|
include(GenerateExportHeader)
|
2013-06-06 04:57:06 +01:00
|
|
|
include(KDE4Defaults)
|
|
|
|
include_directories(${KDE4_INCLUDES})
|
2013-08-10 04:21:55 +01:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
2013-06-06 04:57:06 +01:00
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
add_subdirectory(core)
|
2013-06-19 12:29:24 +01:00
|
|
|
add_subdirectory(kcm)
|
2014-01-16 14:32:35 +00:00
|
|
|
add_subdirectory(kio)
|
2014-02-19 20:10:41 +00:00
|
|
|
add_subdirectory(icon)
|
2014-06-14 14:22:40 +01:00
|
|
|
add_subdirectory(interfaces)
|
|
|
|
|
|
|
|
add_subdirectory(kded)
|
2014-06-14 15:34:00 +01:00
|
|
|
add_subdirectory(plugins)
|
2014-06-14 14:22:40 +01:00
|
|
|
add_subdirectory(plasmoid)
|
2014-04-01 02:12:31 +01:00
|
|
|
add_subdirectory(cli)
|
2013-08-10 04:21:55 +01:00
|
|
|
|
2013-09-01 21:13:03 +01:00
|
|
|
add_subdirectory(tests)
|