2
# Find the KDevelop Platform modules and sets various variables accordingly
4
# Example usage of this module:
5
# find_package(KDevPlatform 1.0.0 REQUIRED)
7
# The version number and REQUIRED flag are optional. You can set CMAKE_PREFIX_PATH
8
# variable to help it find the required files and directories
10
# KDEVPLATFORM_FOUND - set to TRUE if the platform was found and the version is compatible FALSE otherwise
12
# KDEVPLATFORM_VERSION - The version number of kdevplatform
13
# KDEVPLATFORM_VERSION_MAJOR - The major version number of kdevplatform
14
# KDEVPLATFORM_VERSION_MINOR - The minor version number of kdevplatform
15
# KDEVPLATFORM_VERSION_PATCH - The patch version number of kdevplatform
16
# KDEVPLATFORM_INCLUDE_DIR - include dir of the platform, for example /usr/include/kdevplatform
17
# KDEVPLATFORM_INTERFACES_LIBRARIES - interfaces module library
18
# KDEVPLATFORM_LANGUAGE_LIBRARIES - language module library
19
# KDEVPLATFORM_OUTPUTVIEW_LIBRARIES - outputview module library
20
# KDEVPLATFORM_PROJECT_LIBRARIES - project module library
21
# KDEVPLATFORM_SUBLIME_LIBRARIES - sublime module library
22
# KDEVPLATFORM_SHELL_LIBRARIES - shell module library
23
# KDEVPLATFORM_TESTS_LIBRARIES - library to write tests for plugins,
24
# contains some useful tools and a way to replace parts of Core
25
# classes with custom implementations
26
# KDEVPLATFORM_UTIL_LIBRARIES - util module library
27
# KDEVPLATFORM_VCS_LIBRARIES - vcs module library
28
# KDEVPLATFORM_DEBUGGER_LIBRARIES - debugger module library
30
# The following macros are added (from KDevPlatformMacros.cmake):
32
# KDEVPLATFORM_ADD_APP_TEMPLATES( template1 ... templateN )
33
# Use this to get packaged template archives for the given templates.
34
# Parameters should be the directories containing the templates.
36
# Copyright 2007 Andreas Pakulat <apaku@gmx.de>
37
# Redistribution and use is allowed according to the terms of the BSD license.
39
set(_KDevPlatform_FIND_QUIETLY ${KDevPlatform_FIND_QUIETLY})
40
find_package( KDevPlatform ${KDevPlatform_FIND_VERSION} NO_MODULE )
41
set(KDevPlatform_FIND_QUIETLY ${_KDevPlatform_FIND_QUIETLY})
43
include(FindPackageHandleStandardArgs)
44
find_package_handle_standard_args(KDevPlatform DEFAULT_MSG KDevPlatform_CONFIG )