mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
31 lines
576 B
CMake
31 lines
576 B
CMake
# Kate project
|
|
project (kate)
|
|
|
|
# config.h
|
|
check_function_exists(fdatasync HAVE_FDATASYNC)
|
|
check_function_exists(ctermid HAVE_CTERMID)
|
|
|
|
configure_file(
|
|
config.h.cmake
|
|
${CMAKE_CURRENT_BINARY_DIR}/config.h
|
|
)
|
|
|
|
# global include directories
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}/src/app
|
|
)
|
|
|
|
# kate part
|
|
add_subdirectory(part)
|
|
|
|
# kate application
|
|
add_subdirectory(src)
|
|
|
|
# addons, e.g. ktexteditor plugins, kate plugins, plasma applets, ...
|
|
add_subdirectory(addons)
|
|
|
|
# tests
|
|
if(ENABLE_TESTING)
|
|
add_subdirectory(tests)
|
|
endif()
|