2015-01-20 17:02:59 +00:00
|
|
|
project(akregator)
|
|
|
|
|
2016-04-06 12:26:19 +00:00
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
find_package(KDE4 4.18.0 REQUIRED)
|
|
|
|
include(KDE4Defaults)
|
|
|
|
include_directories(${KDE4_INCLUDES})
|
|
|
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
|
|
endif()
|
|
|
|
|
2015-11-25 05:14:02 +00:00
|
|
|
include_directories(
|
2015-01-20 17:02:59 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/interfaces
|
2015-11-25 05:14:02 +00:00
|
|
|
)
|
2015-01-20 17:02:59 +00:00
|
|
|
|
2014-12-01 18:30:26 +00:00
|
|
|
include(CheckTypeSize)
|
|
|
|
check_type_size("long" SIZEOF_LONG)
|
|
|
|
configure_file(config-akregator.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-akregator.h)
|
|
|
|
|
|
|
|
add_subdirectory(export)
|
|
|
|
add_subdirectory(interfaces)
|
|
|
|
add_subdirectory(plugins)
|
|
|
|
add_subdirectory(configuration)
|
|
|
|
add_subdirectory(src)
|