2014-11-19 02:23:05 +00:00
|
|
|
project(KSystemLog)
|
|
|
|
|
2020-02-05 04:36:56 +02:00
|
|
|
project(ark)
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
2014-11-19 02:23:05 +00:00
|
|
|
include(CheckIncludeFile)
|
|
|
|
include(CheckIncludeFiles)
|
|
|
|
include(CheckSymbolExists)
|
|
|
|
include(CheckFunctionExists)
|
|
|
|
include(CheckLibraryExists)
|
|
|
|
include(CheckTypeSize)
|
|
|
|
|
|
|
|
########### Subfolders ##########
|
|
|
|
|
2017-08-02 17:09:12 +00:00
|
|
|
add_subdirectory(src)
|
2014-11-19 02:23:05 +00:00
|
|
|
|
2015-09-02 02:13:50 +03:00
|
|
|
if(ENABLE_TESTING)
|
|
|
|
add_subdirectory(tests)
|
|
|
|
endif()
|